As found in WT-5137, the recently released SWIG 4.0.0 beyond did not work well with wiredtiger. Need to add support to make wiredtiger working with SWIG 4.0.0+.
WT-5137 Switch to macos-1014 Evergreen distro
WT-5473 Drop support for SWIG3
WT-12411 Upgrade SWIG to a version that does not use package "imp"
WT-5363 Error trying to use the Python library: no attribute SWIG_PyStaticMethod_New