cgroup: Improve cftype add/rm error handling