cursor: reinstate BAD_CURSOR_MODE assertions
cursor: reinstate BAD_CURSOR_MODE assertions

This essentially reverts cec514c734b53397e6bca9fef64ed20058e77020.

Done for performance reasons: 0-5% win on the benchmarks.

Deewiant/mushspace,Deewiant/mushspace,Deewiant/mushspace