Mask clut indexes for > 8-bit clut indexes.

Fixes #1532 (well, I expect it to anyway.)

Yeah, I guess this is used for the shifts and stuff, which make more sense now...

-[Unknown]