Use `sysconfig` rather than `distutils.sysconfig`.

The latter is deprecated and slated for removal in Python 3.12.

Change-Id: Iffbb0553d6c0dee0f4992a5b6e07b086e2c5633d
Reviewed-on: https://code-review.googlesource.com/c/re2/+/60250
Reviewed-by: Justin Lebar <jlebar@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
1 file changed