x86: update add-cpu_mask_to_apicid_and to use struct cpumask*