gfio: call g_thread_init() for <= 2.31.0