Make generate-operator-out.py compatible with Python 3.x

Adapt generate-operator-out.py to work with both Python 2.x (x >= 6)
and 3.x

Change-Id: I20f1b212069f368f3cf289dfd6b2aaee393cac68
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
1 file changed