LineDef::Side: Store the "archive index" for the original sidedef

We need to store the original indices of the map data elements.
The archive index will be used in various ways, in particular to
convert references in legacy game saves and also when reporting
mapping errors/warnings to the user.