Migrate to the new benchmark API.

Change-Id: I3b206890ac24a449bb8af2dd366a22e92521fed2
Reviewed-on: https://code-review.googlesource.com/c/re2/+/46692
Reviewed-by: Paul Wankadia <junyer@google.com>
2 files changed