Fix an issue with how I did it.

 In regexw.c, instead of casting from some odd integer thing,
just start at the memory location string offset by cso.

 Also TB_ERR is an int in an enum, and we're returning a memory
address, so actually use something that represents a memory address.

 Then, instead of setting ret to a function pointer, set it to the
results of an actual call.