[PATCH openEuler-22.09 v2 287/391] selftests/bpf: Turn on libbpf 1.0 mode and fix all IS_ERR checks