[PATCH 6.17 497/507] perf/x86/intel: Fix NULL event dereference crash in handle_pmi_common()