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