restore: calculate a maximum value of PID-s
restore: calculate a maximum value of PID-s

It will be used for allocating PIDs for helper tasks

Signed-off-by: Andrey Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

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