Bump required glib version to 2.36.0

This is necessary since f9fb2fd80405397c916b30681d5abf13b6b57e45
added a call to g_type_get_type_registration_serial ()
Remove deprecated calls to g_type_init ()