[FIX] fix for BAM sequence_infos

The sequence infos used BAM local id. I replaced it to use globalID == ids which refer to the nameStore of the BamIOContext. Thus the infos now correspond 1-to-1 to the shared sequences