fix endianness checks

These were defaulting to big endian when not defined.

Reported by Philippe Groarke

Fixes https://github.com/dyfet/ccrtp/issues/18