[PATCH 5.0 011/139] tipc: switch order of device registration to fix a crash