Revert "[NaCl SDK] nacl_io: remove getcwd() implemenation (rely on glibc/newlib versi...