Make CtsStrictJavaPackagesTestCases pass on Q

For pre-R devices, only check for overlaps which involve APEX jars.
This should ensure that module code doesn't accidentally duplicate code
in non-updateable jars.
Now that tests run on Q, it can be added to MTS.

Test: atest CtsStrictJavaPackagesTestCases
Bug: 153627444
Change-Id: I05c497b73b0557f34c52c318817c8090f3049e38
2 files changed