Fixed #4670: Add null callback check in cc.textureCache.addImage
Merge pull request #1739 from pandamicro/develop-3.0

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