chess-pos.el: Reorder some definitions to pacify compiler.

Also, actually disable assertions during compilation (as intended)
which increases performance by roughly 30%.