[PATCH 6.12 382/393] iommufd: Fail replace if device has not been attached