tpm2_changeauth: only change hierachy specified
tpm2_changeauth: only change hierachy specified

Only send a changeauth command if the hiearchy is specified.
This corrects behavior of attempting to change a non-specified
hierarchy.

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

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