mm/m32r: prepare for removing num_physpages and simplify mem_init()