docs: fix spelling in some comments/docs (#2777)

Found with codespell
2 files changed