duplocale: don't crash when called with LC_GLOBAL_LOCALE