Merge "Pass Bitmap's native instance to JNI where feasible"