Residents and a primary school have been evacuated following reports of a "malicious threat" in Swindon.