JavaScriptCore: refassoc: Fixed warning about JSValueRef->JSObjectRef type conversions by creating and using a wrapper function that explicitly does the type conversion.