fix segfaults in XTandemXMLFile and IsobaricChannelExtractor

I can't tell why these have not been found earlier.
They are rather obvious -- I guess we really need regession tests on Windows.