Fix Bug #3761

Fixing build error when using `SparseMatIterator_<>` and `SparseMatConstIterator_<>` post-increment operator.