perf/x86/intel/uncore: Factor out uncore_pci_pmu_register()