cmake: use custom UseSWIG.cmake to fix parallel build issue
cmake: remove verbosity from new UseSWIG.cmake
cmake: turn off unused-but-set-variable when compiling swig generated code