fix bad merging of non-COMDAT data into COMDAT segment
Merge pull request #2254 from rainers/win64_fix_getsegment

Win64: fix bad merging of non-COMDAT data into COMDAT segment