Move RegExp destructor implementation to regexp.cc (to build with libc++)