cg: Add rollback in get_cg_set
cg: Add rollback in get_cg_set

In case of error inside collect_cgroups we need

- @ctls list has been spliced into @cs->ctls so we cant just free it,
   but rather use put_ctls on @cs->ctls

- delete @cs->l from global @cg_sets list before free it

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@virtuozzo.com>
Reviewed-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Acked-by: Tycho Andersen <10c18fcb898ee6b17d6575d444b125d10b3f4d6a@canonical.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@virtuozzo.com>

eabatalov/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,efiop/criu,eabatalov/criu,AuthenticEshkinKot/criu,efiop/criu,KKoukiou/criu-remote,efiop/criu,eabatalov/criu,eabatalov/criu,AuthenticEshkinKot/criu,efiop/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,efiop/criu,KKoukiou/criu-remote,efiop/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,eabatalov/criu,AuthenticEshkinKot/criu,eabatalov/criu,KKoukiou/criu-remote