Device for removing plate-shaped elements, in particular cardboard blanks