GDMS: Refactor getMarkerFromCharValuesByGids() to include markerSampleId in the return value.

Issue: GCP-9284