Generate C code that calls RegisterNatives for JNI code