[PATCH OLK-6.6] libbpf: Fix segfault due to libelf functions not setting errno