amd-iommu: disable cmd buffer and evt logging before reprogramming iommu