[openEuler-5.10 338/557] libbpf: Fix overflow in BTF sanity checks