tools, tests: g_thread_init() is deprecated in glib master