Genex: Disallow LINKER_LANGUAGE only when used on a static library.

For shared libraries and executables, the linker_language is
indepenedent of the linked libraries.
Merge topic 'link-language-static-lib' into next

a8c9095 Genex: Disallow LINKER_LANGUAGE only when used on a static library.