dex2oat: Expect boot image profiles for boot image.

The profile loading is currently permissive, so this
does not really matter but we intend to make it more
strict soon.

Also clean up ScratchFile to avoid dex2oat_image_test
error logs related to ScratchFile destruction.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 148067697
Change-Id: I34526ddb0389444d54b9754afbedeb671c7b05a8
6 files changed