avformat/mpegtsenc: Check data array size in mpegts_write_pmt()