Thunder beat Spurs 106-97, cut deficit to 2-1