BUG: Make ImageIOBase::SetDirection accept const reference parameter

Change-Id: I7bf950866d8cb1328ebc02f8fc5579c98f801664
Merge topic 'ImageIO-const'

fe6c419 BUG: Make ImageIOBase::SetDirection accept const reference parameter