Remove a ton of unnecessary code in TexCache::find