test: remove unused function arguments in async-hooks tests
Remove unused function arguments in two async-hooks tests.
(This actually started as a bigger change but then I realized the bigger change was wrong. Oops.)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines