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