allow profiling with "make P=1"
Remove some redundant code from scan_convert_sorted_triangle