Cope with systems having both <sys/endian.h> and <endian.h>

Fixes:	1476