[U-Boot] [PATCH 2/9] efi_loader: efi_open_protocol: parameter checks