Friend or Foe: How LLMs' Safety Mind Gets Fooled by Intent Shift Attack