tools/tpm2_nvwrite: Fix where ESYS_TR handle is not used in name
tools/tpm2_nvwrite: Fix where ESYS_TR handle is not used in name

Fixes #2862

When calculating cpHash with tcti=none, the ESYS_TR handle was
not used when calculating the name.

Signed-off-by: Imran Desai <d01faadd01d89088a38277c634ffb396f2b368f8@intel.com>

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