kvm: iommu: Add cond_resched to legacy device assignment code
(bnc#910159).

suse-commit: 6d49fddfa32e7c9850b9deb4676b84f5ae9d4c32