Observation of Hysteresis between Solar Activity Indicators and p-mode Frequency Shifts for Solar Cycle 22