French president warns massive ground operation into Gaza by Israel would be ‘a mistake’