On Poincaré and Logarithmic Sobolev Inequalities for a Class of Singular Gibbs Measures