GeneratorObjects: Fix assertion in ExtendedBarCode::makeIndex.
The assertion in makeIndex() didn't properly take into account the case where the link is initialized with an event number of 0 (which is treated like a position of 0).
Fixes failure seen in the ISF_FastCaloSimServices test in the dbg build.