Use NODE_STDOUT_FLUSH_WORKAROUND flag for emcc.

This prevents emscripten from adding a trailing newline to program
output; see https://github.com/kripken/emscripten/issues/2734 for details.