Add missing pthread_cond_destroy in chan init cleanup