Use g_thread_new instead of g_thread_create_full for GLib >= 2.32.