[PATCH openEuler-OLK-6.6 068/129] iommufd: Fix error pointer checking