gio: various unix/fd-related enablement on win32

Marc-André Lureau requested to merge malureau/glib:win32-fd into main

While working on fd/HANDLE passing experiment for DBus, I gather those preliminary changes.

Merge request reports