task/cgrou fix batch job binding to CPUs

batch jobs have cpus_per_task set to zero, which resulted in an
error of "task/cgroup: task[0] unable to set taskset '0x0'"