Convergence of discrete approximations to sets of prescribed mean curvature