Update endian.h

Added IRIX compatibility