ALL: Resolve multiple clang warnings

This also resolves a TODO comment in the cruise save/load code on some fishy looking code saving/loading pointers (the code was actually safe, but a new comment now explains why).

There are still some warnings in the Lua / Pluto code in sword25 left.