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.
Here we return an error in case path is too long, but we have some asserts for sizes above. Maybe we can also return errors in those cases?