dirty_mapping: fix write past end of mapping bug.
move_pages: if pagetypes alloc failed, don't deref it in ->post