fix errno value for getcwd when size argument is zero
[musl] / crt / crti.c