TSAN may re-execute the executable when the memory layout doesn't fullfill requirements, causing argument confusion when that happens. Closes #3774.