Fix for generating jni interface for native function with a jobject[].