Don't set the optimization level/c++ standard version in AM_CXXFLAGS

ax_cxx_compile_stdc++_11 will handle the stanard version by setting CXXFLAGS, and user may wish to override the optimization level.