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