Move the JavaHL native library initialization into a context that
is guaranteed to be single-threaded.

[in subversion/bindings/javahl]
* src/org/apache/subversion/javahl/NativeResources.java
  (NativeResources.initNativeLibrary): Remove native method.
  (NativeResources.init): Remove call to initNativeLibrary.

* native/JNIUtil.h (JNIUtil::JNIGlobalInit): Make method private.
  (initialize_jni_util): Declare as friend.
  (JNIUtil::g_inInit, JNIUtil::g_initEnv): Remove.
* javahl/native/JNIUtil.cpp
  (JNIUtil::g_inInit, JNIUtil::g_initEnv): Remove.
  (GlobalInitGuard): Remove.
  (JNIUtil::JNIGlobalInit): Remove obsolete references to the above.
  (initialize_jni_util): Implement as a wrapper for JNIUtil::JNIGlobalInit.

* native/jniwrapper/jni_base.cpp
  (initialize_jni_util): Declare prototype here.
  (JNI_OnLoad): Call initialize_jni_util and handle the failure here.

* native/org_apache_subversion_javahl_NativeResources.cpp:
   Removed obsolete native implementation.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1557925 13f79535-47bb-0310-9956-ffa450edef68