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