x86/amdiommu: add amdiommu_is_running()
(cherry picked from commit 3b1093e2562a62c96d8e80a306e19f4ac2d2a2f4)