Fix incorrect ReleasePrimitiveArrayCritical jni call

Fix incorrect ReleasePrimitiveArrayCritical jni call