[PATCH v2 1/4] tpm2-sessions: fix out of range indexing in name_size