[Linaro-acpi] [V4 PATCH 6/6] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()