Fix warning with deprecated g_type_init when using glib-2.36 or
greater.

Signed-off-by: Víctor Enríquez <victor.quicksilver@gmail.com>