Do not check for collision if we only extracted the apk

There is no need to check for collisions or verify the class loader
context if the verification is not enabled for the oat file.

This prevents the collision checks or dex2oat reruns when we only
extracted the dex files from apk and fixes.

Test: test-art-host
Bug: 147208643
Change-Id: I84e77baa89fe36705cc650ff21f95b244e7941d4
4 files changed