ovsdb: add conditions utilities to support monitor_cond