tpm2_createprimary: use generated public in output
tpm2_createprimary: use generated public in output

Use the TPM generated return public structure when
creating a primary object, and use the helper routine
to dump all pertniinet data from the created object
to stdout.

Signed-off-by: William Roberts <60148e894dabf0b83bde1d460768794cd453c455@intel.com>

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