[PATCH openEuler-22.09 333/379] libbpf: Improve sanity checking during BTF fix up