Fix small overflow bug

See
http://www.doomworld.com/vb/source-ports/65528-overflow-bug-causing-load-game-crash-in-wiidoom/