Fix endian checks as per austin group definitions of endian.h

Reference: http://www.opengroup.org/austin/docs/austin_514.txt