Fix issue where classes that fail verification have kStatusNotReady.

Classes that failed verification at compile time were not getting the
status kStatusRetryVerificationAtRuntime. This is because
GetCompiledClass would return false for anything that wasn't verified,
making it look like the compiler had not touched the class at all, when
it should have failed verification.

Test: mm test-art-host
Bug: 64392002

(cherry picked from commit f1aa26599d866abe3c31ac959b042fc32d7fb581)

Change-Id: I41dbde3c0d0cbf2ff463a364c405ef7284e6aed9
2 files changed