(Glide64) Use texrect in pm_palette_mod