[PATCH openEuler-22.09 v2 341/391] libbpf: Improve sanity checking during BTF fix up