[PATCH v2] mm: set the vma flags dirty before testing if it is mergeable