Merge pull request #7490 from geron-cn/chukongv3

	fix bug: cpp-test  binary load test crash
Fix  type judgment  error.
[ci skip]
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_hot_fix
Merge pull request #7492 from samuele3hu/v3_hot_fix

Fix a type judgment error.