[PATCH v2 06/10] mm/mremap: check remap conditions earlier