Remove obsolete CHECKs for image dex file location.

These checks are not valid for --single-image extensions or
for extensions after boot class path components without
corresponding images. Instead of updating these checks,
rely on the checks done by the ImageSpace::LoadBootImage().

Test: aosp_taimen-userdebug boots when built with
      `DEXPREOPT_USE_ART_IMAGE=true`. Then
      adb root && \
      adb shell setprop persist.sys.dalvik.vm.lib.2 libartd.so && \
      adb reboot  # Starts correctly.
Test: adb root && \
      adb shell stop && \
      adb shell setprop dalvik.vm.boot-image \
          'boot.art:/nonx/boot-framework.art!/system/etc/boot-image.prof' &&
      adb shell start  # Starts correctly; no tombstones.
Bug: 119800099
Change-Id: Id6615a8ac6b423c5f0784f3c0f621bcc016073b7
3 files changed