On the Regularization Method in Nondifferentiable Optimization Applied to Hemivariational Inequalities