removed the need for prep-kernel to use /dev/root

instead we just use a little bit of C code borrowed from busybox to do
the same thing as readlink /dev/root would do except this works on
systems that don't have /dev/root.