Skip deprecated g_type_init() for GLib 2.35

https://developer.gnome.org/gobject/2.35/gobject-Type-Information.html#g-type-init

Signed-off-by: Anders Kaseorg <andersk@mit.edu>