x86/amd-iommu: fix broken check in amd_iommu_flush_all_devices