x86/amd-iommu: Move reset_iommu_command_buffer out of locked code