GRAILS-11505 fix broken preferSubChunkWhenWritingToOtherBuffer feature in StreamCharBuffer