Fix wrapping for IconImageGenerator.SetOutputDimensions

unsigned int dims[2] would not be taken into account otherwise. This patch fixes it.
Merge branch 'release'
Fix an inconsistency

Number of Curves is size_t and not unsigned int
Merge branch 'release'