aix: improve AIX compatibility for Node.js use

As we work through the changes to Node required to support
PowerPC platforms, we have had to introduce a changes to the
libuv component to support the AIX operating system.

These are the initial enabling changes required.
Check length of path. I assume that each path in PATH could potentially be of almost PATH_MAX chars, so you'd overflow.