Don't loop infinitely if skirt/brim has circumference of 0
Don't loop infinitely if skirt/brim has circumference of 0

This could happen in an edge case.

Discovered by seth2371 in issue Ultimaker/Cura#5958.

Ultimaker/CuraEngine,Ultimaker/CuraEngine