[Linaro-acpi] [V6 PATCH 5/7] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()