re.c: Regexp#to_proc

* re.c (rb_reg_to_proc): new method Regexp#to_proc, which returns
  a Proc does matching.  [Feature#7883]