[PATCH bpf-next 2/4] selftests: bpf: Add helper to compare socket cookies