Improve efficiency of basic_streambuf::consume() by using a single call to gbump() rather than calling sbumpc() in a loop.