mm: memblock: replace dereferences of memblock_region.nid with API calls