[PATCH 02/10] mm/mremap: refactor initial parameter sanity checks