Add brg_endian.h

This isn't needed for the reference implementation