Rotation measure synthesis applied to synthetic SKA images of galaxy clusters