Fix py3 compat issue

sys.exc_clear was removed in Python 3.
Rather than using a try/except, it's better ot test if PY2 using kivy.compat.PY2. Or even better, I think sys.exc_clear() can be removed altogether. It might have been a problem in versions of python older than 2.2, but I don't think it's really needed anymore.