Fix assorted typos.

From https://sourceforge.net/p/swig/patches/332/ and some others too.