x86: change _node_to_cpumask_ptr to return const ptr