createrepo_c: Switch order of g_mutex_unlock and g_cond_broadcast.