restore: fix checking error code of sys_sigaction
restore: fix checking error code of sys_sigaction

sys_sigaction() returns an error code

Reported-by: Kir Kolyshkin <c0159612b0ef32139322233232df1a0d189c4b9b@openvz.org>
Signed-off-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

wtf42/criu,eabatalov/criu,tych0/criu,ldu4/criu,KKoukiou/criu-remote,svloyso/criu,eabatalov/criu,ldu4/criu,ldu4/criu,ldu4/criu,wtf42/criu,wtf42/criu,eabatalov/criu,efiop/criu,wtf42/criu,KKoukiou/criu-remote,wtf42/criu,KKoukiou/criu-remote,tych0/criu,efiop/criu,AuthenticEshkinKot/criu,fbocharov/criu,efiop/criu,tych0/criu,efiop/criu,tych0/criu,fbocharov/criu,svloyso/criu,tych0/criu,tych0/criu,AuthenticEshkinKot/criu,fbocharov/criu,AuthenticEshkinKot/criu,svloyso/criu,svloyso/criu,AuthenticEshkinKot/criu,wtf42/criu,ldu4/criu,fbocharov/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,KKoukiou/criu-remote,eabatalov/criu,svloyso/criu,KKoukiou/criu-remote,fbocharov/criu,KKoukiou/criu-remote,ldu4/criu,fbocharov/criu,eabatalov/criu,svloyso/criu,efiop/criu,eabatalov/criu,efiop/criu