COSMIT various typofixes

As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Merge pull request #1852 from slattarini/typofixes

COSMIT various typofixes