test: fix flaky test-trace-events-perf
test-trace-events-perf requires a data
event on a file read to return
the complete contents of the file. This is not guaranteed. Use
synchronous file read instead as it is more appropriate in this case.
Fixes: https://github.com/nodejs/node/issues/22604
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines