[kodi] Upstream patches for Python 3.9 support found in F33+