[PATCH 4.19 43/58] dmaengine: sh: rcar-dmac: Check for error num after setting mask