[PATCH openEuler-22.09 261/379] libbpf: Fix segfault in static linker for objects without BTF