[PATCH 5.8 363/464] fsl/fman: check dereferencing null pointer