remove unused variable in LineSegmentDetectorImpl::compareSegments()