fix polyline.

1.change numPoints to numDeltaEntries.
2.fix polyline mistake on xfreerdp as #1686 .
3.fix incorrect point numbers on wfreerdp.