src: rename `On*` -> `Emit*` for stream callbacks
This should make these function calls a lot more intuitive for people who are more accustomed to Node’s EventEmitter API.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
src/stream_base