[PATCH 5.10 263/379] tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()