perf pmu: Use __weak definition from <linux/compiler.h>