intl: Fix for uClibc.
* intl/localename.c (gl_locale_name_thread_unsafe): Take care of uCLIBC.
Patch provided by "vriera".