Fix IOBufferData::Trim to trim to the specified size.
Fix IOBufferData::Trim to trim to the specified size.

sql-analytics/kosmosfs,sql-analytics/kosmosfs,sql-analytics/kosmosfs,sql-analytics/kosmosfs,sql-analytics/kosmosfs,sql-analytics/kosmosfs