[IPX]: Fix NULL pointer dereference on ipx unload