[boost] Added "restore" member functions to ios_state