restore: apply resource limits
restore: apply resource limits

When C/R was implemented, it was enough to call manager.Set to apply
limits and to move a task. Now .Set() and .Apply() have to be called
separately.

Fixes: 8a740d5391a7 ("libcontainer: cgroups: don't Set in Apply")
Signed-off-by: Andrei Vagin <74c05afa918858348d6db8037d82fa8124870113@virtuozzo.com>

kolyshkin/runc,rhatdan/runc,sunyuan3/runc,dqminh/runc,wking/runc,xiaochenshen/runc,opencontainers/runc,stefanberger/runc,WeiZhang555/runc,adrianreber/runc,rhatdan/runc,laijs/runc,laijs/runc,stefanberger/runc,mheon/runc,cloudfoundry-incubator/runc,stefanberger/runc,laijs/runc,wking/runc,kolyshkin/runc,xiaochenshen/runc,kolyshkin/runc,adrianreber/runc,shishir-a412ed/runc,xiaochenshen/runc,justincormack/runc,crosbymichael/runc,dqminh/runc,shishir-a412ed/runc,mYmNeo/runc,vbatts/runc,dqminh/runc,rajasec/runc,WeiZhang555/runc,mheon/runc,adrianreber/runc,estesp/runc,mYmNeo/runc,crosbymichael/runc,rajasec/runc,cyphar/runc,kolyshkin/runc,cyphar/runc,opencontainers/runc,crosbymichael/runc,hqhq/runc,shishir-a412ed/runc,wking/runc,cloudfoundry-incubator/runc,hqhq/runc,opencontainers/runc,justincormack/runc,vbatts/runc,mheon/runc,mikebrow/runc,rhatdan/runc,rhatdan/runc,hqhq/runc,docker/runc,mYmNeo/runc,opencontainers/runc,mikebrow/runc,docker/runc,dqminh/runc,WeiZhang555/runc,sunyuan3/runc,estesp/runc,cyphar/runc,sunyuan3/runc,rajasec/runc,mikebrow/runc,docker/runc,estesp/runc,cloudfoundry-incubator/runc,vbatts/runc,justincormack/runc