[PATCH 5.15 115/565] tpm: fix signed/unsigned bug when checking event logs