cg: Add rollback for add_cgroup
cg: Add rollback for add_cgroup

If add_cgroup_properties failed we have @ncd sitting
in @match->children or @current_controller->heads
list, and then we free @ncd entry leaving those
lists carrying dead pointers.

Add proper rollback action.

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@virtuozzo.com>
Acked-by: Tycho Andersen <10c18fcb898ee6b17d6575d444b125d10b3f4d6a@canonical.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@virtuozzo.com>

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