libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch

Backport libuv commit `3e90bc76` (build: fix build failures with MinGW
new headers, 2021-11-03).

Fixes: #22916
1 file changed