make regoff_t and regex_t match C++ ABI