fix:Remove some warning about lua.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_new_fix
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_new_fix
Merge pull request #5678 from samuele3hu/develop_new_fix

fix: The return value of `luaval_to_dictionary` was wrong and remove some warning