[PATCH 5.15 22/51] tipc: fix NULL deref in cleanup_bearer()