[PATCH 4.9 50/76] kcm: switch order of device registration to fix a crash