pe/coff: handle weak defined symbol for gc-sections.