files: Restore fdflags on proper fd
files: Restore fdflags on proper fd

After reopen_fd_as the original fd is closed.

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

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