Tracing images to grease pencil objects creates sometimes artifacts, as seen, for example, when tracing the attached image.
I have found the same behavior both in the 2.92 release and in the current 2.93 master.
The artifacts are caused by a variable that's not initialized or updated when finding a point tagged as POTRACE_CORNER.
This patch solves this issue.
