cpp/io/basic syncbuf/set emit on sync

Changes the current emit-on-sync policy.

The value (the default) indicates that any flush will be postponed until a call to emit.

The value makes flushes apply immediately.