[Driver] Replace Target with TargetInfo. Simplify LinkerInput.

This removes Target and moves the functionality it had over to TargetInfo.

This also simplifies LinkerInput by removing the InputKind. This will be handled elsewhere.