sync: Add const fn OnceCell::from_value
#6698
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
OnceCell::from_value
#6698