[PATCH openEuler-22.09 v2 108/391] selftests/bpf: Fix a compiler warning in global func test