[SHRINKWRAP-470] Fix for SeekableInMemoryByteChannel.truncate misimplementing the contract