fix build failure with sip 6.17.2

https://github.com/qgis/QGIS/issues/68118
Index: python/PyQt6/core/conversions.sip.in
--- python/PyQt6/core/conversions.sip.in.orig
+++ python/PyQt6/core/conversions.sip.in
@@ -2227,84 +2227,6 @@ template<TYPE>
 %End
 };
 
-%MappedType QMap<int, int>
-{
-  %TypeHeaderCode
-#include <QMap>
-    %End
-
-    %ConvertFromTypeCode
-    // Create the dictionary.
-    PyObject *d = PyDict_New();
-
-  if (!d)
-    return NULL;
-
-  // Set the dictionary elements.
-  QMap<int, int>::const_iterator i = sipCpp->constBegin();
-
-  while (i != sipCpp->constEnd())
-  {
-    PyObject *kobj = PyLong_FromLong(i.key());
-    PyObject *vobj = PyLong_FromLong(i.value());
-
-    if (kobj == NULL || vobj == NULL || PyDict_SetItem(d, kobj, vobj) < 0)
-    {
-      Py_DECREF(d);
-
-      if (kobj) {
-        Py_DECREF(kobj);
-      }
-      if (vobj) {
-        Py_DECREF(vobj);
-      }
-
-      return NULL;
-    }
-
-    Py_DECREF(kobj);
-    Py_DECREF(vobj);
-
-    ++i;
-  }
-
-  return d;
-  %End
-
-  %ConvertToTypeCode
-    PyObject *t1obj, *t2obj;
-  Py_ssize_t i = 0;
-
-  // Check the type if that is all that is required.
-  if (sipIsErr == NULL)
-  {
-    if (!PyDict_Check(sipPy))
-      return 0;
-
-    while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
-    {
-      if (!sipCanConvertToType(t1obj, sipType_QString, SIP_NOT_NONE))
-        return 0;
-    }
-
-    return 1;
-  }
-
-  QMap<int, int> *qm = new QMap<int, int>;
-
-  while (PyDict_Next(sipPy, &i, &t1obj, &t2obj))
-  {
-    int t1 = PyLong_AsLong(t1obj);
-    int t2 = PyLong_AsLong(t2obj);
-    qm->insert(t1, t2);
-  }
-
-  *sipCppPtr = qm;
-
-  return sipGetState(sipTransferObj);
-  %End
-};
-
 template<TYPE1, TYPE2>
 %MappedType QMap<TYPE1, TYPE2*>
 {
