glib/win32: fix passing same fd for stdout & stderr spawn

Delay closing the FDs after all input FDs are duped.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
11 jobs for w32-spawn-fds in 28 minutes and 45 seconds (queued for 5 seconds)
latest