At least three people were killed in a shooting outside the Israeli consulate in Istanbul, according to media reports.