[PATCH V2 05/48] imx: move get_boot_device to common header