x86 gart: replace to_pages macro with iommu_num_pages