[bpf] add big- and host- endian support