[configure] Use CXXFLAGS instead of OPT_CXXFLAGS

Because OPT_CXXFLAGS are overwritten by CXXFLAGS.
Merge pull request #275 from project-hatohol/fix-debug-option

[configure] Use CXXFLAGS instead of OPT_CXXFLAGS