[LLD] Fix Clang-tidy modernize-use-nullptr warnings; other minor cleanups.

Patch from Eugene Zelenko!

llvm-svn: 249111
5 files changed