Fix C90 compiler warnings in cmd-know.c

The C90 standard prohibits mixing variable declarations with code.
More cleanups to spells1.c

Missed these the first time.