GCHQ boss gives AI risk warning to ministers