posix_getcwd(): limit to INT_MAX on Windows

It's more to fix a conversion warning during compilation, I don't think that
Windows support current working directory larger than 2 GB ...
1 file changed