tipc: fix missing spinlock init and nullptr oops