added 'const' qualifier to the function: ItemDataIndex::find().

A caller typically gets an ItemDataIndex instance by
ItemTable::getIndexVector(), which returns a const reference.
If this function is not const, it cannot be used and
becomes very inconvenient.