[PATCH 6.12 203/223] LoongArch: Eliminate superfluous get_numa_distances_cnt()