fix warnings
Merge pull request #7846 from andyque/addUILuaBindings

add disableCascadeOpacity to ProtectedNode and Scale9Sprite
Merge pull request #7840 from minggo/fix-warning

fix warnings