[PATCH 6.1 228/634] perf/x86/amd: Check event before enable to avoid GPF