[PATCH 5.4 310/453] perf probe: Fix memory leak when synthesizing SDT probes