opal_progress: fix sched_yield check

master commit open-mpi/ompi@d0da29351f9cf070abd4b6ee8409780ff02bb4b6