coredump: Snapshot the vmas in do_coredump