williams.c: fix generic_paletteram regression (nw)