Revert "JNI: Rewrite locking for synchronized methods." am: 02e0eb7eef

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

Change-Id: I401e07ae7f0ad048e03d267799cf1e131e780a6c