Fix typos in bert_defs.cc and contrib_defs.cc (#24764)
### Description
<!-- Describe your changes. -->
Fix typos in bert_defs.cc and contrib_defs.cc
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Signed-off-by: co63oc <co63oc@users.noreply.github.com>