[corlib] Replace few threading types from reference sources