[PATCH 4.14 18/26] vfio: avoid possible overflow in vfio_iommu_type1_pin_pages