Infineon TPM: Fix potential buffer overruns