[PATCH 5.10 505/717] perf probe: Fix memory leak when synthesizing SDT probes