[U-Boot] [PATCH v3 17/21] efi_loader: set loaded image code/data type properly