[openEuler-5.10 225/557] selftests/bpf: Fix perf_buffer test on system with offline cpus