Add GcRuntime and GcCompiler traits; i31ref support
#8196
Merged
GcRuntime and GcCompiler traits; i31ref support
#8196