doc: fix util.deprecate() example
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc
Description of change
The arguments object is not created for arrow functions so the example was incorrect.