Fix some crash in debug builds.
These were probably just typos.
TextureCache::Invalidate()/InvalidateAll() small corrections and optimizations.
I think the ranges are [start_addr, end_addr).
Merge pull request #2210 from aquanull/TCMinorFix

Fix some crash due to destroyed FBO's...