Update Emscripten CMake toolchain default flags to include -O2 also in compile pass, not just at link time, and add -g to CMake RelWithDebInfo builds.