chore: replace once_cell utils with std equivalents
#5821
+209
−196
Merged