Fix CTS failure on 988 due to hiddenapi

hiddenapi would cause test 988 to be unable to find the
Throwable.nativeFillInStackTrace method causing the output to be
filtered incorrectly. This only happens on CTS since the normal
run-tests are executed with those restrictions turned off.

Test: atest CtsJvmtiRunTest988HostTestCases
Bug: 172354013
Change-Id: I1d278e240c9eebb797f329fb0d1514729cd26215
2 files changed