Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitle