[PATCH bpf-next] selftests/bpf: Simplify the calculation of variables