avcodec/smvjpegdec: copy palette too