coredump: fix memleak in dump_vma_snapshot()