[3.7] bpo-26544: Get rid of dependence from distutils in platform. (GH-8356). (GH-8970)

(cherry picked from commit 7d81e8f5995df6980a1a02923e224a481375f130)
2 files changed