Differentially Private Objective Perturbation: Beyond Smoothness and Convexity