of/fdt: factor out assignment of initrd_start/initrd_end