(hg_string_copy_as_substring): fix a handling of the substring from the substring
(hg_string_copy_as_substring): fix a handling of the substring from the substring

freedesktop-unofficial-mirror/hieroglyph,freedesktop-unofficial-mirror/hieroglyph,freedesktop-unofficial-mirror/hieroglyph