Fix more overflows (CID 75145,75137,75104,75094)

https://github.com/freenet/fred/pull/312 was incomplete; Coverity has found more ...
Nothing is changed here (except for trailing whitespace)? IMHO it would be a good idea to amend your commit to exclude this file.