On the stability of a cold-core eddy in the presence of convection : hydrostatic versus non-hydrostatic modeling