COMP: fix compiler error from visual studio 2013

Errors detected when I try to compile OTBv4 with this new compiler. Other errors have been detected but corresponding corrections have been already done in the master.

Change-Id: I05791407fd6960928c17ca3229a5d7a909e9c21b
COMP: Logically dead code

1080838 The indicated dead code may have performed some action; that
action will never occur.

In itk::​CrossHelper<itk::​Vector<double, 3u>>::​operator
()(itk::​Vector<double, 3u> const&, itk::​Vector<double, 3u> const&):
Code can never be reached because of a logical contradiction

Change-Id: Iedb7ad003262ea1203dc300b7631c9a4b70c95fe
COMP: Logically dead code

CID 1080860 The indicated dead code may have performed some action;
that action will never occur.

In itk::​BMPImageIO::​CanWriteFile(char const*): Code can never be
reached because of a logical contradiction

Change-Id: Ib82a2b7f7e7c653f8df5337c1c10d1e91d7bc17f
COMP: Logically dead code

CID 1080861 The indicated dead code may have performed some action;
that action will never occur.

In itk::​GiplImageIO::​CanWriteFile(char const*): Code can never be
reached because of a logical contradiction

Change-Id: If717fcbdaa273bfd75f12126c05202c129eb462c
BUG: Fixed error handling in MINC IO

There was a mistake to print certain errors as debug messages.
They should be errors, indicating that either file is missing or corrupt, and
cannot be properly processed.

Change-Id: I031019818c267d7db357d9b67c26f69bd72ae093
COMP: Copy-paste error

CID 1103106 The copied code will not have its intended effect.

In test_regiongrowKLM1D(): A copied piece of code is inconsistent with
the original

Change-Id: I3175b882c264255427217c9351b30b326b818a3a
Merge topic 'Coverity_itkRegionGrow2DTest'

4733855 COMP: Copy-paste error
Merge topic 'MINC2_EXCEPTION_FIX'

bd87cfb BUG: Fixed error handling in MINC IO
Merge topic 'Coverity_itkGiplImageIO'

fd538ac COMP: Logically dead code
Merge topic 'suport-vs2013'

ac124c3 COMP: fix compiler error from visual studio 2013
Merge topic 'Coverity_itkBMPImageIO'

ba7bf69 COMP: Logically dead code
Merge topic 'Coverity_itkCrossHelper'

544e00a COMP: Logically dead code
ENH:  Accessing optimizer weights from the methods.

The v4 optimizers have a m_Weights variable which
permits applying prior knowledge to the update
parameters.  This allows, for example, the user
to limit a displacement field transform in a
specified (e.g. only in the x-y plane).  This
patch makes this functionality accessible to the
user from the registration methods.

Change-Id: Ie6fc1b571d12fc988091fe6f18b24b5ecd275d52
Merge topic 'OptimizerWeightsAccess'

00c2c36 ENH:  Accessing optimizer weights from the methods.