Your specification of the likelihood in terms of $p_{i}$ and $\lambda_{i}$:
$$\prod_{i: \ Y_i=0} p_i+(1-p_i) \exp \{-\lambda_i \} \times \prod_{i: \ Y_i >0} (1-p_i)\exp \{-\lambda_i \} \lambda_{i}^{Y_i}/Y_i!$$
is correct, directly from your model formulation. Taking logs and omitting the constant factorial term, the log-likelihood is
$$ \sum_{i: \ Y_i=0} \log \left(p_i + (1-p_i)\exp \{-\lambda_i \} \right) + \sum_{i: \ Y_i >0}\Big( \log(1-p_i) - \lambda_i + Y_i \log(\lambda_i) \Big) $$
Now using that $p_i = \frac{1}{1 + \exp\{-{\bf G}_{i} {\boldsymbol \gamma}\}}=\frac{\exp\{{\bf G}_{i} {\boldsymbol \gamma}\}}{1+\exp\{{\bf G}_{i} {\boldsymbol \gamma}\}}$ and $\lambda_i = \exp \{ {\bf B}_{i} {\boldsymbol \beta} \}$ and substituting into the equation above and using the fact that $\log(A/B)=\log(A)-\log(B)$ a number of times, the expression above becomes:
\begin{align*}
& \ \ \ \sum_{i: \ Y_i=0} \log \left( \frac{\exp\{{\bf G}_i {\boldsymbol \gamma}\}}{1 +\exp\{{\bf G}_i {\boldsymbol \gamma}\}} + \frac{1}{1 + \exp\{{\bf G}_i {\boldsymbol \gamma}\}}
\exp \{ -\exp \{ {\bf B}_i {\boldsymbol \beta} \} \}
\right) \\
&+ \sum_{i: \ Y_i >0} \log \left( \frac{1}{1 + \exp\{{\bf G}_i {\boldsymbol \gamma}\}} \right) - \exp \{ {\bf B}_i {\boldsymbol \beta} \} + Y_i {\bf B}_i {\boldsymbol \beta} \\
&= \sum_{i: \ Y_i=0} \log \Big(\exp\{{\bf G}_i {\boldsymbol \gamma}\} +
\exp \{ -\exp \{ {\bf B}_i {\boldsymbol \beta} \} \}
\Big) - \log(1 + \exp\{{\bf G}_i {\boldsymbol \gamma}\}) \\
&+ \sum_{i: \ Y_i >0} \log(1) - \exp \{ {\bf B}_i {\boldsymbol \beta} \} + Y_i {\bf B}_i {\boldsymbol \beta}- \log(1+\exp\{{\bf G}_i {\boldsymbol \gamma}\})\\
&= \sum_{i: \ Y_i=0} \log \Big(\exp\{{\bf G}_i {\boldsymbol \gamma}\} +
\exp \{ -\exp \{ {\bf B}_i {\boldsymbol \beta} \} \}
\Big) + \sum_{i: \ Y_i >0} \Big( Y_i {\bf B}_i {\boldsymbol \beta} - \exp \{ {\bf B}_i {\boldsymbol \beta} \} \Big) \\
& \ \ \ \ \ \ \ \ - \sum_{i=1}^{n} \log(1+\exp\{{\bf G}_i {\boldsymbol \gamma}\})
\end{align*}
which is exactly the likelihood equation you were trying to derive (without the constant factorial term which is not necessary).