Fix 616-cha-miranda test for speed-profile.

Check whether `Main.testOverride()` is AOT-compiled
instead of checking the caller.

Test: testrunner.py --host -t 616-cha-miranda
Test: ART_HEAP_POISONING=true testrunner.py --host -t 616-cha-miranda
Bug: 204740802
Change-Id: Iba51097847471d7cd776914a0123e6286b0b7bf2
1 file changed