[PATCH 4.9 165/310] net: freescale: fix potential null pointer dereference