fix use of uninitialized pointer in gettext core