cobertura-writer: Improve constness