[MIPS] setup.c: move initrd code inside dedicated functions