[boost] [iostreams][patch] position_to_offset() is broken for Microsoft Visual C++/Dinkumware