[PATCH openEuler-22.09 114/379] selftests/bpf: Fix a compiler warning in global func test