address: fix endianness check

This was defaulting to big endian if byte order was not defined.

Reported by Philippe Groarke.
Merge pull request #44 from tmatth/endianness

address: fix endianness check