On a characterization of a convolution of Gaussian and idempotent distributions