compat/regex/regex.c: add support for MS Visual C alloca