exotcp/checksum: optimize checksum functions