gdate: Use longest matching month name in g_date_set_parse (backport to glib-2-58)
There are languages where a name of one month is a substring of another. Instead of stopping search on the first match use the month that constitutes the longest match.
(Backport to glib-2-58: Fix minor merge conflict.)
Fixes #1343 (closed).