Fix FastNative/CriticalNative annotation lookup.

Avoid calling ClassLinker::LookupResolvedType() with
a DexCache/ClassLoader mismatch.

Test: ANDROID_COMPILE_WITH_JACK=false testrunner.py --host -t 004-JniTest
Bug: 63089991
Change-Id: I323ece317274d1523586779a37d01c50b787ace4
2 files changed