Effects of g-jitter and cross-diffusion on the onset of convection in doubly diffusive systems