deploy-stub: Set `Py_OptimizeFlag` to 2 for Python 3.2+
This fixes the value of `sys.flags.optimize`, as we always build Python code with `optimize=2` in Python 3.2 and above
In the long run we need a better solution, see #1363
Closes #1359
Fixes #1343