[PATCH 6.15 442/780] perf trace: Fix leaks of struct thread in fprintf_sys_enter()