Some simple optimizations to texturecache
Use invalidatecachehint in dcachewritebackinvalidateall too. Count invalidations.