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