build: i18n: icutrim needs to pay attention to endianness
build: i18n: build fixes for AIX.

* Need to build with pthread on AIX
* Can't trim out codepage converter code on non-LE machines -need it to swap incoming data!