librados: only call watch_flush if necessary


Signed-off-by: Haomai Wang <haomaiwang@gmail.com>