Check whether gcc's C++11 implementation of std::string's c_str() function returns null-terminated strings