mm: use helper functions for allocating and freeing vm_area structs