[PATCH 5.4 151/184] tpm: efi: Use local variable for calculating final log size