[PATCH 5.11 281/342] tpm: efi: Use local variable for calculating final log size