Reimplement STL string buffer unlocker (refs #8267 and refs #7704)

svn path=/trunk/boost/lexical_cast.hpp; revision=83543