[PATCH 6.6 207/356] perf trace: Fix leaks of struct thread in set_filter_loop_pids()