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