On the (De)Stabilizing Effect of Public Debt in a Ramsey Model with Heterogeneous Agents