[PATCH 5.12 314/384] tpm: efi: Use local variable for calculating final log size