x86: move cpu_coregroup_map to common file