On the approximate treatment of wall-boundary conditions in large-eddy simulation