bootmem: Replace work_with_active_regions() with for_each_mem_pfn_range()