compound: make compount_type::iterator a real input_iterator
compound: make compount_type::iterator a real input_iterator

Iterators require a default constructor, so add one. This helps
a later patch use std::input_iterator to constrain template
parameters.

scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla