JNI Trouble accessing Double Object in C++