BIG_ENDIAN and LITTLE_ENDIAN are not supported by gcc, which
eg. for ubsan Value::getFloatValue will silently fall through to
the little endian branch, breaking display of float values by ubsan.
Use BYTE_ORDER == ORDER_BIG/LITTLE_ENDIAN as the condition
instead, which is supported by both clang and gcc.
Noticed while porting ubsan to s390x.