[boost] [endian] Alternative implementation of endian_flip