drivers/perf: arm_pmu: avoid NULL dereference when not using devicetree