[PATCH openEuler-5.10-LTS 384/427] iommu/msm: Fix an incorrect NULL check on list iterator