Apply patch for HARMONY-6408: [classlib][luni]OutputStreamWriterTest got java.nio.BufferOverflowException