tridentfb: fix pseudo_palette array overrun in setcolreg