classifier: Allow CLS_CURSOR_FOR_EACH to use a const-qualified iterator.