bcache: avoid unnecessary btree nodes flushing in btree_flush_write()