[issue-425] Use WORDS_BIGENDIAN for DO_INVERSE

See #425.
Merge pull request #509 from tpaviot/review/use-WORDS_BIGENDIAN

Use WORDS_BIGENDIAN for DO_INVERSE