unix: fix uv_tcp_nodelay return value in case of error

Fixes #1102