Clean up various naming aspects of codegen (#50638)
Most of the changes are changing from `const std::string &` to `const
Twine &`, which lets us be lazier about computing string values
efficiently. We also make the plt function private linkage since it's
only referred to by the plt global.
---------
Co-authored-by: Jameson Nash <vtjnash@gmail.com>