added a 'const' qualifier to the argument of ItemTable::defineIndex().

The argument is just an input, so must not be modified in defineIndex().