Fix a DeprecationWarning in zenmap with python -3

DeprecationWarning: reduce() not supported in 3.x; use
functools.reduce()

functools.reduce was added in Python 2.6