Signal-to-noise ratio of Gaussian-state ghost imaging