[PATCH v2 11/18] vfio: selftests: Move IOMMU library code into iommu.c