fix 'g_static_mutex_get_mutex_impl' is deprecated