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

(cherry picked from commit 370f57eba74549e1fc484c83684ceb2285bc717f)

Merged-In: I323ece317274d1523586779a37d01c50b787ace4
Change-Id: I1ca27ba3162e3546ed4a95f27d2b50aa4e22bb8b
2 files changed