http2: simplify custom promisify
This is just a small refactoring.
Refs: https://github.com/nodejs/node/pull/20830#issuecomment-405105028
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines