fix endianness checks

These were defaulting to big endian when not defined.

Reported by Philippe Groarke

This along with https://github.com/dyfet/ucommon/pull/44 fixes https://github.com/dyfet/ccrtp/issues/18