[PATCH 4.14 06/77] tipc: switch order of device registration to fix a crash