Add pragma(LDC_extern_weak) for symbols with (ELF) weak linkage.

For now, this is only an internal feature to be used in the
implementation of rt.sections_linux.
driver: Support code for shared library collision detection.