Boundary-Layer Stabilization by Distributed Damping