[PATCH 5.7 303/393] fsl/fman: check dereferencing null pointer