Fix gcc compilation errors in ArmatureBones and ArmatureWeight

* ITK_THREAD_RETURN_TYPE can only take ITK_THREAD_RETURN_VALUE as value. Use
itkException if there is error. See #13895
* Use reinterpret_cast when casting from void*
* Remove unused variable warnings
* Compilation error on gcc
* Fix indentation
* Add std:: namespace prefix
Merge branch '13878-fix-parallelized-build-errors' into heat-diffusion

* 13878-fix-parallelized-build-errors:
  Fix gcc compilation errors in ArmatureBones and ArmatureWeight
Use CopyInformation to clone a volume

Using GetOrigin()/GetSpacing() is not enough in some cases (e.g. with the
VisibleMan dataset)
Issue #13919
Restore IsArmatureInRAS in ArmatureWeight

When the module has been split in 2 modules (ArmatureBone & ArmatureWeight),
IsArmatureInRAS has been removed from ArmatureWeight.
Issue #13919
Add Debug option to PoseBody

* Move IsArmatureInRAS below ArmaturePoly in the list of options.
* Remove .vtk as a file format request for geometry type.
* Build PosedArmature.vtk in Debug mode.
* Prevent crash when input arm't contain Transforms array.

Issue #13919
Fix RAS polydata inversion in ARmatureWeight and PoseBody

The polydata are inversed at load time, points should not be inverted
again later.
Only point field data need to be inverted (e.g. "Transforms" field array).
For the output, invert back the result points if needed.
Issue #13919
Fix linear blend regression

Regression introduced by 4aa830bb6be9
Issue #13919
Merge branch '13919-fix-posebody-linear-interpolation' into heat-diffusion

* 13919-fix-posebody-linear-interpolation:
  Fix linear blend regression
  Fix RAS polydata inversion in ARmatureWeight and PoseBody
  Add Debug option to PoseBody
  Restore IsArmatureInRAS in ArmatureWeight
  Use CopyInformation to clone a volume
Fix crash when using narrowly cropped images

Checking if the pixel is inside the image is necessary for preventing
crash.
Also making this whole block debug beacause it is not absolutely
necessary for the computation a can be expensive.

See Issue #13919
Merge branch '13919-fix-posebody-linear-interpolation' into heat-diffusion

* 13919-fix-posebody-linear-interpolation:
  Fix crash when using narrowly cropped images