French President Emmanuel Macron has survived two no confidence votes amid the security aide scandal.