[PATCH 6.6 305/737] perf/x86/amd: Check event before enable to avoid GPF