Make it easier to change the location of the primary boot image.

This CL adds a function `art::GetPrebuiltPrimaryBootImageDir`, which
returns the location of the primary boot image. Other code should use
this function to find the primary boot image. In that way, changing the
location of the primary boot image only requires changing this function.

Also:
- Use the ART boot profile in art_common_test as a fallback when the
  primary boot image cannot be used.
- Update the `-Xforcejitzygote` flag not to assume that the primary
  boot image exists in the ART APEX.

Bug: 211973309
Test: All ART test suites.
Test: -
  1. Change `art::GetPrebuiltPrimaryBootImageDir` to returning a path on
     /system.
  2. Make the corresponding change in the build system.
  3. Run all ART test suites again.
Change-Id: Id34d7eec534733d932e520fa3b503488c0dc513a
8 files changed