BUG: GDCMImageIO was not working properly when m_KeepOriginalUID is false

When m_KeepOriginalUID was false, useful gdcm warning shows up for
StudyInstanceUID (0x0020|0x000d), SeriesInstanceUID (0x0020|0x000e) and
FrameOfReferenceInstanceUID (0x0020|0x0052), stating that these values were
already set and would not be updated. It is fixed by using
gdcm::DataSet::Replace() instead of gdcm::DataSet::Insert().

Change-Id: Id30772a9870533d10bce15bb556dc9c3e1e780c3
Merge topic 'GDCMImageIOErrorNotKeepingOriginalUID_release'

2f86b89d BUG: GDCMImageIO was not working properly when m_KeepOriginalUID is false