[runtime] Disable some warnings.
[jit] Make generic ctor calls made out of gsharedvt methods indirect, since they cannot be patched. Fixes #18634.