A woman was taken to hospital after being discovered with a head injury in Swindon.