lib: add WeakRef
and FinalizationRegistry
to primordials
#37263
Merged
WeakRef
and FinalizationRegistry
to primordials
#37263