A Saudi citizen has wounded a guard in a knife attack at the French consulate in Jeddah, according to officials. (AFP)