Police were told Maine gunman might 'snap and commit a mass shooting' 6 weeks before massacre