[PATCH 4.14 133/228] fsl/fman: check dereferencing null pointer