Fix ImageSpace relocation direction check.
am: e37b791590

Change-Id: Ib3b51245faad68b920d40f7bef0523c31cbf159b