tipc: make link implementation independent from struct tipc_bearer