[DebugInfo] Keep the DWARF64 flag in the module metadata

This allows the option to affect the LTO output. Module::Max helps to
generate debug info for all modules in the same format.

Differential Revision: https://reviews.llvm.org/D96597

GitOrigin-RevId: aa842896299b014dc1837f1a01dfccbd94242c84
4 files changed