QLocale - Fix Mac date format code translation

Mac uses the CLDR format codes which need to be translated into their
Qt equivalent. The existing code mistranslates the year code, is
outdated for a number of new codes introduced in recent versions of
CLDR, and by default accepted any codes it didn't recognize.

This change updates support to the latest version of CLDR, fixes the
treatment of years, and defaults to ignoring any new format codes
added in the future.

Back-ported from qtbase/77dc33dcdbe0eec8ddc9059c4e0ff9dde264c5fa

Task-number: QTBUG-25057

Change-Id: Ide040eca467cfada46fb0e2010db179a76b3096a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
QLocale: Update Portuguese and Greek locales data

* Update timeFormat for Portuguese/Brazil locale.
* Update abbreviated day names for Greek locale.

Note: Those locales are already fixed in the recent CLDR v23.1
data used in Qt 5.2.

Change-Id: I351e3a9ae65dcff4ab6b4787242141c3c9d86e24
Reviewed-by: Lars Knoll <lars.knoll@digia.com>