Handle cpumask in raw driver for unified hierarchy.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
Check if spec.Cpu is nil so we can new() it (cpu news it above).