Comparison of mesoscopic solvation pressure at constant density and at constant chemical potential