net: 8390: fix potential NULL pointer dereferences