[jni] do not redefine JNIEXPORT
[jni] pass JNIEnv as void** as in openjdk jni.h