[PATCH 6.6 191/208] LoongArch: Get correct cores_per_package for SMT systems