Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot.

Thanks to George Rimar's r249696, `not` is now able to find ld.lld2
executable correctly.

llvm-svn: 249746
19 files changed