Stop CommitLogSegment.close() from unnecessarily calling sync() prior to cleaning the buffer.

Patch by belliotsmith, reviewed by marcuse for CASSANDRA-6652
Merge branch 'cassandra-2.0' into trunk