Fixed #4670: Add null callback check in cc.textureCache.addImage