Fix spelling errors in comments and strings using codespell

See https://github.com/lucasdemarchi/codespell
#323 Segmentation fault when opening ipod

* Patch submitted in bug report from François Melchior / James Burton