test: fix tpm2b unit tests failing on big endian
test: fix tpm2b unit tests failing on big endian

tpm2b unit test fails on big endian machines

Fixes: #1171

Signed-off-by: Tadeusz Struk <ac7da5bc34fbda078ba4af5ef710d2a59a2316f5@intel.com>

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