duplocale: don't crash when called with LC_GLOBAL_LOCALE
[musl] / src / thread / syscall_cp.c