glib: Fix gio modules loading on macOS
Fixes #374 (closed). Tested by attempting to use souphttpsrc
with a https URL - after this patch gio correctly loads up the module needed for that to work correctly (needed an env var previously).
Edited by Nirbheek Chauhan