[PATCH 47/49] image: Reduce variable scope in boot_get_fdt()