cmake: use swig_add_modules if cmake > 3.7
cmake: use swig_add_modules if cmake > 3.7

swig_add_module has been deprecated

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>
Signed-off-by: Abhishek Malik <876019366d13664ffb738df1a8654f7b38f787b3@intel.com>

intel-iot-devkit/upm,pylbert/upm,skiselev/upm,stefan-andritoiu/upm,pylbert/upm,intel-iot-devkit/upm,stefan-andritoiu/upm,pylbert/upm,g-vidal/upm,intel-iot-devkit/upm,pylbert/upm,skiselev/upm,stefan-andritoiu/upm,pylbert/upm,malikabhi05/upm,pylbert/upm,Propanu/upm,g-vidal/upm,Propanu/upm,Propanu/upm,intel-iot-devkit/upm,intel-iot-devkit/upm,skiselev/upm,malikabhi05/upm,g-vidal/upm,Propanu/upm,stefan-andritoiu/upm,malikabhi05/upm,intel-iot-devkit/upm,Propanu/upm,Propanu/upm,g-vidal/upm,skiselev/upm,g-vidal/upm,malikabhi05/upm,stefan-andritoiu/upm,stefan-andritoiu/upm,malikabhi05/upm,skiselev/upm,skiselev/upm,malikabhi05/upm,g-vidal/upm