tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()