Cleanup of Patmos toolchain driver code

* Use llvm-link and opt instead of llvm-ld
* Autodetect bitcode archives, automatically link with correct tool
* Preserve order of link inputs as far as possible
* Split ConstructJob into multiple functions
* Cleanup of link/gold argument passing