boost: fix build error on ARM due to wrong check for endian.h