CAMEL-7209 Fixed the unit test failure of XmlConverterTest
CAMEL-7213 NIOConverter need to call flip() when we put something into the buffer