[PATCH 6.11 161/817] tpm: fix signed/unsigned bug when checking event logs