Merge branch 'gdcm-spacing-release3' into release

Change-Id: I921407e67211743e4057c95bb4145b688e75dc38
Merge branch 'release'

Change-Id: I646fb345596b8ede1b0c4615db89896203afb438
BUG: Invalid read during ImageIOBase SetDirection.

This bug was unveiled by a new test that writes a 3D images to a series of
2D DICOM files.  In this case, the ImagesSeriesWriter re-uses the 3D ImageIO
object on each of the 2D slices when writing with ImageFileWriter.

Change-Id: I592b6cd99d45854be24ddd1e074af4aa03a1ad33
Merge topic 'imagebase-invalid-read-release'

895c6fb8 BUG: Invalid read during ImageIOBase SetDirection.