Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN