Fix test 674-hiddenapi when debuggable.

The runtime warns for debuggable apps even when access to an API is
allowed. Update the expectations of this test accordingly.

This requires exposing Runtime::IsJavaDebuggable to the java code so
it knows what to expect.

Test: $ art/test.py -b --host --debuggable -t 674-hiddenapi
Bug: 79914966

(cherry picked from commit eef7757941f2681814462b0f55d29a562c0200da)

Merged-In: I339f205d7153cf7b1c12dc06813c768608921684
Change-Id: Ifd260a2886e99159162a3d05bdf0f5af0c8620d6
2 files changed