Split out the fake testing::MallocCounter into its own file.

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