[PATCH 5.10 245/299] tpm: efi: Use local variable for calculating final log size