[U-Boot] [PATCH 17/18] efi_loader: refactor efi_setup_loaded_image