iommu/amd: Cleanup buffer allocation