Update lib/OpenLayers/Format/EncodedPolyline.js

Optimized for-loop