configure.py: do not use distutils
configure.py: do not use distutils

as distutils is deprecated, let's use an alternative of
`distutils.dir_util.mkpath` for `mkdir -p`

this change silences warning like:

seastar/./configure.py:20: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.dir_util

Signed-off-by: Kefu Chai <cdc92d111bae0ed1ee3b3c8a1f849fcffc6b44f7@gmail.com>
Message-Id: <20220624150318.2042697-2-cdc92d111bae0ed1ee3b3c8a1f849fcffc6b44f7@gmail.com>

scylladb/seastar,scylladb/seastar,syuu1228/seastar,avikivity/seastar,syuu1228/seastar,syuu1228/seastar,avikivity/seastar,avikivity/seastar,scylladb/seastar