mm/filemap: avoid buffered read/write race to read inconsistent data