Reinstate "compilers/c: Fix allow undefined link arg for PE/COFF"
Reinstate "compilers/c: Fix allow undefined link arg for PE/COFF"

This reinstates 2256e6314b610b8f6645d0c5384536001ddeccf9, which was
lost in refactoring in 9f9cfd21396db5cd5eb1711916c8b0c6e433c702.

pexip/meson,mesonbuild/meson,QuLogic/meson,becm/meson,becm/meson,jpakkane/meson,jpakkane/meson,pexip/meson,becm/meson,mesonbuild/meson,mesonbuild/meson,jpakkane/meson,pexip/meson,QuLogic/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,becm/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson,QuLogic/meson,becm/meson,QuLogic/meson,jpakkane/meson,becm/meson,becm/meson,mesonbuild/meson,pexip/meson,pexip/meson,jpakkane/meson,QuLogic/meson,jpakkane/meson,jpakkane/meson,QuLogic/meson,QuLogic/meson,becm/meson,mesonbuild/meson,QuLogic/meson,becm/meson,mesonbuild/meson,jpakkane/meson,mesonbuild/meson,becm/meson,pexip/meson,pexip/meson,jpakkane/meson,pexip/meson