Revert "Remove dependency on jniGetNonMovableArrayElements."

This reverts commit a035ec5992dccd31d7db349287ed0f97c5a4cf76.