smpboot: allow passing the cpumask on per-cpu thread registration