Your solution is almost correct, but you need to make an additional step to make the intervals disjoint.
If $G$ is empty, then the claim is trivial (the empty collection of intervals is at most countable).
If $G$ is not empty, let, for each $x\in G$, $$\mathcal I_x\equiv\{I\,|\,I\text{ is an open interval, }x\in I,\text{ and }I\subseteq G\}.$$ Since $G$ is open, $\mathcal I_x\neq\varnothing$. Moreover, $$I^{\star}_x\equiv\bigcup_{I\in\mathcal I_x}I$$ is open and it is also an interval: I leave it to you to check that $$I^{\star}_x=\left]\inf_{I\in\mathcal I_x}\{\inf I\},\sup_{I\in\mathcal I_x}\{\sup I\}\right[\in\mathcal I_x.$$
Now, if $x,y\in G$, then $I_x^{\star}$ and $I_y^{\star}$ are either identical or disjoint. To see this, suppose that there exists some $z\in I_x^{\star}\cap I_y^{\star}$. Then, $I_x^{\star}$ and $I_y^{\star}$ are open intervals containing a common element, so that $\hat{I}\equiv I_x^{\star}\cup I_y^{\star}$ is an open interval, too. Since $x\in I_x^{\star}$, $y\in I_y^{\star}$, $I_x^{\star}\subseteq G$, and $I_y^{\star}\subseteq G$, it follows that $x\in \hat I$ and $\hat I \subseteq G$, so that $\hat I\in\mathcal I_x $. Analogously, $\hat I\in\mathcal I_y$. Therefore, $\hat I\subseteq I_x^{\star}$ and $\hat I\subseteq I_y^{\star}$, which, together with the definition of $\hat{I}\equiv I_x^{\star}\cup I_y^{\star}$, is possible only if $I_x^{\star}=I_y^{\star}$.
Finally note that, $$G=\bigcup_{x\in G} I_x^{\star}.$$ By the foregoing, any two members of the union that are not the same must be disjoint. Now use the Lindelöf property as you did before.