tpm, tpm_tis: check TPM2 before calling tpm_get_timeouts()

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