Fix issue 13666: Undefined Symbols for __gshared data symbols in templates

https://issues.dlang.org/show_bug.cgi?id=13666

OMF/MACH: do not ignore COMDEF records when scanning library for symbols

Apparently this caused a regression, looks like pickAny should be set.
@rainers #4187