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.