Don't call g_thread_init with recent GTK.

On recent GTK's g_thread_init is deprecated.