(re_compile_pattern): Don't set regs_allocated here.