PR: 261679
Also
Style
xlocale.c: only call init_key() when locale was successfully allocated
xlocale.c:init_key(): do not ignore errors from pthread_key_create()
All of the other calloc() calls in libc/locale/*.c have the same bug.
Handle all calloc() invocations in locale/.