x86: convert cpumask_of_cpu macro to allocated array