win: Don't crash on invalid parameter error.

libuv relies on suppressing the invalid parameter error in
uv__get_osfhandle, and it could happen frequently.
Merge pull request #2330 from livedo/master

Windows: Don't crash on invalid parameter error.