gallivm/rgtc: fix the truncation to 8-bit