arm64: topology: move store_cpu_topology() to shared code