[PATCH 5.15 078/620] libbpf: Fix segfault due to libelf functions not setting errno