linuxrc: move root device detection/init code to rootdev_init