x86/amd-iommu: Remove double NULL check in check_device