g_type_init: no longer needs to be called

g_type_init has been deprecated since glib 2.35, and no longer needs to
be called. Call it with the earlier versions of glib.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>