x86 iommu: move device_tag_init() to utils
(cherry picked from commit ff54674b09501f4302e675bb2d3e34a752a63405)