Correct CheckAlpha() for un-rearranged textures.

Fixes #4403.  It was just not seeing the alpha when a texture had a large
bufw and a small w, and transparent only near the bottom - as in FF1's case.
Merge pull request #5240 from unknownbrackets/texcache

Correct CheckAlpha() for un-rearranged textures