[runtime] Fix reading past the end of a string when setting the native thread name.
[jit] Avoid uninitialized fields in the MonoDelegateTrampInfo structure.