JNI bridge to GMP library