loci: fix byte order check

__ORDER_BIG_ENDIAN was not defined. This version uses the macros from the GCC
docs.
Merge into master from pull request #219:
loci: fix byte order check (https://github.com/floodlight/loxigen/pull/219)