NBC: Suspect in Buffalo supermarket shooting previously investigated for violent threat