Fix malloc_mutex_[un]lock() to conditionally check witness.

Also remove tautological cassert(config_debug) calls.
2 files changed