go: correctly update bytes processed when unpacking strings