Gunman shot in attempted Westmoreland robbery