[PATCH 4.14 019/173] amd-xgbe: use dma_mapping_error to check map errors