mpegts input: protect global variable mpegts_pid_skel using mutex

- the skel variable is shared in multiple thread
- also remove mpegts_pid_sub_skel, it's not used frequently
mpegts input: optimize the mpegts_mux_find_pid_() for last change
Fix double free of hdhomerun_debug_obj
Bug #2479