Remove deprecated functions gtk_threads_enter and gdk_threads_leave