Make trim consider both parts of coordinate

In TemplateParser.parseCoordinates(), trim whitespace of both parts
of the coordinate string rather than the whole string before splitting.
Otherwise whitespace between ';' and longitude is left.

Bug: 65573
Change-Id: I9b5c1dbadd1c81524fec556da2882c70321ea1c4
Merge "Make trim consider both parts of coordinate"