tpm: prevent buffer overflow from firmware

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>