The Gilbert equation with dry-friction-type damping