demux: ts: apply pmt registration first (fix #11545)