[PATCH V3 1/4] arm_pmu: acpi: Refactor arm_spe_acpi_register_device()