try_{compile,run}: add LINKER_LANGUAGE option

Fixes: #25326
10 files changed