[PATCH 6.1 141/634] selftests/bpf: Improve reliability of test_perf_branches_no_hw()