[PATCH 5.15 315/476] tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()