[boost] Patch to make code_converter flushable