Split GHC arguments into link and non-link

When -no-link is passed, ignore the fact that the link args may be missing.
Not sure if span (/= "-o") is a good enough way to split these.  It works for cabal as it currently puts the output args last.  But it would break if it was not last.