Numerical Analysis of Elliptic Hemivariational Inequalities for Semipermeable Media