lib: Prevent overflow if TPM support more banks than implementation
lib: Prevent overflow if TPM support more banks than implementation

This check, while being fairly unreachable in real life due to TPM
unlikely support more than SHA-1, SHA-256 and SHA-512 banks, is
a sanity boundary in case a user face an exotic TPM device or
a simulator.

Signed-off-by: sebastien le stum <eab1024c437ed3bd6a7c8a3a281fc7d29e1067e0@gmail.com>

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