SWIG 4.4 has dropped the usage of SWIG_NULLPTR again, which means we can't rely on its presence to identify SWIG >= 4.2.0 Generate a swig_version.h by parsing the output of `swig -version` and writing this in a hex representation Fixes #1979