linuxrc: move livecd mount code to livecd_mount()