[Linq] Replace implementation by Microsoft reference sources

Still have to check that full aot is working