[PATCH 5.10 085/459] tpm: fix signed/unsigned bug when checking event logs