test: Undefine NV space and make sure the cleanup is called in any case
test: Undefine NV space and make sure the cleanup is called in any case

The defined NV space must be cleaned up, even if the test fails at some point.
Some possibly unsupported commands are not being checked for yet.
Checking the RC for TPM2_RC_COMMAND_CODE in the exit label detects all cases.

Signed-off-by: Ricardo Schwarzmeier <6590d31da7eb603ef4ddc8227b304aca533a901a@infineon.com>

01org/tpm2-tss,01org/TPM2.0-TSS,01org/tpm2-tss,01org/TPM2.0-TSS,tpm2-software/tpm2-tss,01org/TPM2.0-TSS,tpm2-software/tpm2-tss,01org/tpm2-tss,01org/TPM2.0-TSS,tpm2-software/tpm2-tss