fix some bug for use multi-thread in on android.
Merge pull request #4450 from Dhilan007/master

[ci skip]fix some bug for use multi-thread in on android.
issue #3374:Register the lua manual binding funtions leading to change the top index of lua state
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into master_cocostudio