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