gltrace: Handle negative lengths in glShaderSource* (issue #116).