build: fix static build by preventing symbol omissions
build: fix static build by preventing symbol omissions

By explicitly forcing linker to include symbols for libraries that
aren't referenced in the binary. Because the global registry enables
them to be created dynamically at runtime, symbols in modules, etc. are
not ever referenced even though they are still actually used.
Conditionally add special linker flags to force their inclusion in
static builds.

Fixes #11199

andrsd/moose,permcody/moose,idaholab/moose,YaqiWang/moose,SudiptaBiswas/moose,SudiptaBiswas/moose,sapitts/moose,lindsayad/moose,nuclear-wizard/moose,lindsayad/moose,idaholab/moose,harterj/moose,milljm/moose,permcody/moose,andrsd/moose,lindsayad/moose,dschwen/moose,nuclear-wizard/moose,milljm/moose,milljm/moose,bwspenc/moose,laagesen/moose,lindsayad/moose,dschwen/moose,jessecarterMOOSE/moose,bwspenc/moose,jessecarterMOOSE/moose,harterj/moose,sapitts/moose,sapitts/moose,jessecarterMOOSE/moose,lindsayad/moose,laagesen/moose,milljm/moose,dschwen/moose,laagesen/moose,SudiptaBiswas/moose,dschwen/moose,andrsd/moose,jessecarterMOOSE/moose,permcody/moose,harterj/moose,idaholab/moose,nuclear-wizard/moose,bwspenc/moose,SudiptaBiswas/moose,sapitts/moose,nuclear-wizard/moose,YaqiWang/moose,jessecarterMOOSE/moose,bwspenc/moose,andrsd/moose,idaholab/moose,harterj/moose,idaholab/moose,harterj/moose,milljm/moose,laagesen/moose,YaqiWang/moose,sapitts/moose,dschwen/moose,SudiptaBiswas/moose,permcody/moose,bwspenc/moose,laagesen/moose,andrsd/moose,YaqiWang/moose