Update CCTextureCache.js

1、Fix error that cc.TextureCache.dumpCachedTextureInfo() will crash when there are cc.LabelBMFont has been created
2、Fix bug when calculate HTMLCanvasElement 's memory