Raising the signal directly keeps the stack trace smaller. It also makes sure that the assertion works even if NDEBUG is defined. The debug assertions are now also printed to stderr to make sure that they are caught even when running MaxScale directly.