optimize decompress jpg data

it may be unnecessary copy jpg bytes one by one when decompress jpg data
Merge pull request #8079 from CocosRobot/update_lua_bindings_1410858873

[AUTO]: updating luabinding automatically
optimize decompress jpg data and fix warnings
Merge pull request #8062 from zhongfq/v3

optimize decompress jpg data