test: fix preprocessor if statements
test: fix preprocessor if statements

Currently, the code is set up like:
\#if TEST_BOUND_SESSION

However, this will only evaluate to TRUE if TEST_BOUND_SESSION is not
only defined but also defined to a truthy value like 1. However, the
Makefile just passes these via -D -DTEST_BOUND_SESSION. Therfore use
\#if defined(TEST_BOUND_SESSION).

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

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