[PATCH v7 08/13] iommufd/selftest: Add container_of helpers