Use Py_XINCREF

Follow on to matplotlib/matplotlib#3811