test_tpm2_alg_util.c: fix test for ALG_ID changes
test_tpm2_alg_util.c: fix test for ALG_ID changes

Pull request https://github.com/tpm2-software/tpm2-tss/pull/1211/files adds
explicit casts to `TPM2_ALG_ID` macro definitions. That change prevents
stringifying the `TPM2_ALG_ID` macros diretcly, breaking the
`nv_single_item_test2` tests. Instead, use `snprintf` to create the hex-value
strings.

Signed-off-by: Safayet Ahmed <c17450eaff7bc1df611d8e09b171bc8c3cb363eb@ge.com>

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