[PATCH openEuler-22.09 179/379] libbpf: Extend sanity checking ELF symbols with externs validation