[PATCH openEuler-5.10-LTS-SP1 82/87] perf/arm_pmu_platform: fix tests for platform_get_irq() failure