fix: Prevent segfault when using add.Module()

This duplicates the source file string (as is done in other places such
as `addAssemblyFile()`) in order to prevent a segfault when the supplied
string is freed by the caller. This is still seen when the caller makes
use of a defer statement.
280140595fDaniel A.C. Martin committed on 11/27/2023, 2:33:28 AM· committed by Andrew Kelleyparentf29302f
1 file changedLine totals unavailable