Update endian.h

Added AIX compatibility