regcomp.c: do not ignore memory allocation failure