Revert "Remove deprecated call to g_type_init"

This reverts commit 0b75b3c4b4354b72b604c6313ceef97d9ecb007c.
Only stop use of g_type_init with Glib 2.36

It is still needed in 2.32 from what I can figure out.