[PATCH v2 2/6] efi_loader: correct determination of secure boot state