dmaengine: fsl-edma: fix wrong pointer check in fsl_edma3_attach_pd()