Mask clut indexes for > 8-bit clut indexes.

Fixes #1532.
Merge pull request #1543 from unknownbrackets/texcache

Mask clut indexes for > 8-bit clut indexes.