[PATCH kernel-4.19 175/286] Intel: perf/x86/intel: Factor out common code of PMI handler