arm: mvebu: Move get_boot_device() to cpu.c and make visible