tpm2_quote: convert to context structure
tpm2_quote: convert to context structure

Rather than multiple static variables follow the pattern
used in other tools whereby we create a context structure,
with a single static instance, to hold all of the tool's
global state.

Signed-off-by: Joshua Lock <9750fc34162235efa862f2505c1a01f735e97af7@intel.com>

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