Fix CompilerDriver's handling of boot image extension.

Update a few checks for boot image to also apply to
boot image extensions.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 119800099
Change-Id: I7f17686bc22de677d5e2068e6fe5fd2a53e89ce7
1 file changed