windows: fix build break

Floating https://github.com/MSOpenTech/libuv/commit/7b9b4d5781d1278a2e2d1432d56b23f2abc49b93
Added an assert.