Hysteresis in the field-induced magnetic structure in TmNi2B2C