[PATCH bpf-next v4 5/8] libbpf: Support opening bpf objects of either endianness