[PATCH v2 49/50] image: Split up boot_get_fdt()