For ENG-5345, also account for bytes released from current write buffer
Merge pull request #1114 from VoltDB/ENG-5345-4

For ENG-5345, also account for bytes released from current write buffer