Enable JNI ID auto swap on debuggable

Make JNI-ids automatically switch to Indices on debuggable processes.
This allows one to make use of structural redefinition in these
processes.

Test: Manual
Test: listextensions agent
Bug: 134162467
Change-Id: I097c16f26c9a42ab523b4cb06cdb603f70bb38bb
6 files changed