[PATCH V2 06/49] imx: move get_boot_device to common header