[PATCH 6.1 100/772] tpm: fix signed/unsigned bug when checking event logs