Israel’s military chief of staff said in an interview Thursday that his country was prepared to cooperate with Saudi Arabia to face Iran’s plans “to control the Middle East.” His comments were the latest sign that behind-the-scenes links between Israel and Gulf countries may be occurring due to Iran, their shared enemy, even though they do not have formal diplomatic ties.