[PATCH 6.7 513/713] perf pmu: Fix a potential memory leak in perf_pmu__lookup()