COMP: Fix all valid cppcheck warnings in "ITK/Module" directory

Previously four patches are sent about fixing cppcheck warnings in four
sub-directories as:
Module/Core
Module/Registration
Module/Segmentation
Module/Filtering

Now in this final patch all the valid remained cppcheck warnings of
Module directory are fixed.

Some of the cppcheck warnings are related to the functions that are not
used, but they may be used later by users. Such a warning is an example
of an invalid warning.

Some warnings are related to the intentionally created issues that are
provided in the test files. Such warnings are another example of what I
call invalid warnings.

The titles of major fixed issues are listed below:
- if possible, variables are passed by reference.
- prefix ++/-- operators are preferred for non-primitive types.
- initialization to assignment is preferred.
- if possible, the scope of variables are reduced.
- Throwing a copy of the caught exception instead of rethrowing the
original exception.

All the ITK tests are passed after the above changes.

Change-Id: Ia4a5fe36ae5de520aaeecb7e47f13371e5309704
Merge topic 'moduleDir_cppcheck'

9c530ae COMP: Fix all valid cppcheck warnings in "ITK/Module" directory