tsmux: Move out parameters of tsmux_write_ts_header