tss_*: Fix orphaned pointer and let sscanf allocate memory
tss_*: Fix orphaned pointer and let sscanf allocate memory

Deallocate the version pointer before reseating again. Improve
code by letting sscanf allocate memory itself.

Signed-off-by: Christian Plappert <b3f20f5332b04b0678ce3c663d8f758ced9252c1@sit.fraunhofer.de>

01org/tpm2.0-tools,01org/tpm2.0-tools,01org/tpm2.0-tools