PALETTE_SetMapping do not write the palette color to NULL pointer.