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