Update bout++.cxx

Attempt to fix intermittent bug where the final timestep is not correctly written to all dmp files.