[PATCH 6.12 208/354] selftests/bpf: Improve reliability of test_perf_branches_no_hw()