Adds a flag F_in_memory to prefer in-memory output buffers over on-disk
output buffers.
We need this to support -no-mmap-output-file in LLD. LLD currently
explicitly ignores this flag for compatibility with the GNU linker.
Test Plan:
ninja check-llvm
Technically mmap'ed files are also in memory (and on disk at the same time), so this comment might be a bit misleading. I'd name this F_no_mmap and explain that option as "Don't use mmap and instead write a in-memory buffer to a file when this buffer is closed".