dm writecache: avoid unnecessary lookups in writecache_find_entry()