efi_loader: simplify tcg2_measure_secure_boot_variable()