mcr.c: fix generic_paletteram regression (nw)