add TextureResType to LoadingBar's create method

This PR fix issue https://github.com/cocos2d/cocos2d-x/issues/9440