[PATCH openEuler-22.09 v2 262/391] libbpf: Fix segfault in static linker for objects without BTF