Merge "Replace JNI primitive array critical calls with non-critical ones." into mnc-dev