Self-excited oscillations of a finite-thickness elastic layer sliding against a rigid surface with a constant coefficient of friction