Call g-type-init() at startup.

This is required for older versions of GLib.