Add Debug::check_assertion() overload that takes const char* parameter.

This avoids useless conversions to std::string when the assertion is
true.