Add tests for `art_jni_{lock,unlock}_object`. am: 3a50f34c84

Original change: https://android-review.googlesource.com/c/platform/art/+/1910110

Change-Id: If9bf71b06d3a496c18cf531820b328a7a3c6596a