glib/gwin32.c: Silence a Deprecation Warning

Since we are already building a deprecated function for compatibility
reasons, we don't really need to see a warning when it uses another
deprecated GLib function.