Adding setConfig method to JNI to support setting a config on the previously initialized offline-recognizer.