[ELF] - Do not create huge garbage files on section offset overflow.
[ELF] - Do not create huge garbage files on section offset overflow.

Patch changes behavior to not try open the output 
file if we already know about error.

That is not just cleaner, but also fixes nasty behavior of linker that
could create huge temporarily files under certain conditions.

Differential revision: https://reviews.llvm.org/D28107

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@292219 91177308-0d34-0410-b5e6-96231b3b80d8

llvm-mirror/lld,llvm-mirror/lld