regex_internal.c: don't assume WEOF fits in wchar_t