fix bug in Cocos2dxHelper jni setStringForKey and getStringForKey when not called from main thread on Android