[PATCH 4.9 36/51] net: thunderx: fix NULL pointer dereference in nic_remove