Fix win_pageant for Python 3

Previously _get_pageant_window_object always returned 0, so pageant was silently ignored.