[vector-api] Add export for ol.geom.LineString#getLength

Add export for ol.geom.LineString#getLength