ART: Don't let dex2oat compile image space

Dex2oat should not be allowed to attempt image-space compilation.
It will generate one explicitly, or depend on an existing one.

This also properly reports a kCreateRuntime error return in all
cases (instead of an abort).

Bug: 37318304
Test: m test-art-host-gtest-dex2oat_test
Change-Id: I8a27de88de77475847e56f28ccab5afd3095d9c7
1 file changed