Extremes of Gaussian fields with a smooth random variance