Fix return type of PyObject_SetItem