[PATCH 4.9 146/212] fsl/fman: check dereferencing null pointer