Fixed #5943: Fix issue about return value of cc.textureCache.addImage