Gap Functions and Error Bounds for Variational–Hemivariational Inequalities