Add a macro _GLIBCXX_DEBUG on debug mode to enable libstdc++ debug mode.

This patch enables libstdc++ debug mode when --enable-debug is specified.