Reset console in -DNDEBUG whdd-curses

assert(e) is a macro that does nothing if NDEBUG is defined.
Expression e is just dropped and atexit() isn't called.
Merge pull request #18 from divanorama/patch-1

Reset console in -DNDEBUG whdd-curses