JNI: Add "no inline" entrypoints for lock/unlock.

This re-enables lock logging for synchronized native methods
which was mistakenly lost in
    https://android-review.googlesource.com/1898923 .

Also update a comment about arm assembler workaround.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: run-gtests.sh
Test: testrunner.py --target --optimizing
Bug: 172332525
Change-Id: I76fb2f4c16d261b28dfbe1e505b7cb173cc06005
7 files changed