ART: Stop Hidden API stackwalk for class initializers in j.l.i.

Class initializers in java.lang.invoke retrieve field offsets. The
hiddenapi stack walk does not need to progress past these initializers
as they are permitted irrespective of how their invocation is
triggered.

Bug: 77631986
Test: art/test/run-test --host --64 674-hiddenapi

(cherry picked from commit 29e64cfc32e17c9111a5ed2a6b141bebf891cbe3)

Change-Id: I77a29999177850bd50ca4d043b0cd40c40692fe4
Merged-In: Iaabedc9c016d546e10072107d79c7b6701582c83
1 file changed