rawdec: use AVPALETTE_SIZE instead of magic constants.