Refactor linker commands generation code in gnu toolset
Refactor linker commands generation code in gnu toolset

No real changes, just avoid repeating the same fragment several times for
executables, shared libraries and loadable modules and do it only once in a
new _make_link_command() function.

vslavik/bakefile,vslavik/bakefile,vslavik/bakefile