Clamp _xmlOutputBuffer::written value to INT_MAX.
If more than INT_MAX bytes are written to the _xmlOutputBuffer, then counter saturates at INT_MAX. If tracking of more than INT_MAX bytes is required, custom callbacks should be created, per #112 (comment 620930)