Fix incorrect argument order to globus_cond_wait