(Glide64) Simplify operations on r, g, b values in TexModCI