dump: Merge mm and vmas dumping functions
dump: Merge mm and vmas dumping functions

The plan is to merge vma images into mm ones (see further
patching), so prepare the dumping code for that.

Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

svloyso/criu,eabatalov/criu,KKoukiou/criu-remote,biddyweb/criu,svloyso/criu,sdgdsffdsfff/criu,KKoukiou/criu-remote,tych0/criu,biddyweb/criu,LK4D4/criu,fbocharov/criu,KKoukiou/criu-remote,marcosnils/criu,ldu4/criu,gonkulator/criu,marcosnils/criu,tych0/criu,gonkulator/criu,eabatalov/criu,kawamuray/criu,ldu4/criu,kawamuray/criu,sdgdsffdsfff/criu,efiop/criu,biddyweb/criu,rentzsch/criu,tych0/criu,biddyweb/criu,marcosnils/criu,efiop/criu,wtf42/criu,biddyweb/criu,rentzsch/criu,sdgdsffdsfff/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,efiop/criu,wtf42/criu,LK4D4/criu,efiop/criu,marcosnils/criu,eabatalov/criu,rentzsch/criu,KKoukiou/criu-remote,sdgdsffdsfff/criu,gablg1/criu,rentzsch/criu,eabatalov/criu,marcosnils/criu,efiop/criu,fbocharov/criu,fbocharov/criu,ldu4/criu,rentzsch/criu,gonkulator/criu,gablg1/criu,fbocharov/criu,wtf42/criu,svloyso/criu,AuthenticEshkinKot/criu,LK4D4/criu,sdgdsffdsfff/criu,gonkulator/criu,rentzsch/criu,svloyso/criu,kawamuray/criu,kawamuray/criu,tych0/criu,ldu4/criu,svloyso/criu,gonkulator/criu,KKoukiou/criu-remote,biddyweb/criu,LK4D4/criu,eabatalov/criu,gonkulator/criu,AuthenticEshkinKot/criu,kawamuray/criu,AuthenticEshkinKot/criu,gablg1/criu,efiop/criu,gablg1/criu,wtf42/criu,ldu4/criu,kawamuray/criu,wtf42/criu,marcosnils/criu,LK4D4/criu,tych0/criu,wtf42/criu,AuthenticEshkinKot/criu,gablg1/criu,gablg1/criu,fbocharov/criu,svloyso/criu,fbocharov/criu,tych0/criu,ldu4/criu,LK4D4/criu,KKoukiou/criu-remote,eabatalov/criu,sdgdsffdsfff/criu