v8: cherry-pick Reland "[api] JSFunction PromiseHook for v8::Context"
v8: cherry-pick Reland "[api] JSFunction PromiseHook for v8::Context"

https://github.com/nwjs/v8/commit/7972f52f23b142856bad57e196c5ae868365b41b

nwjs/nw.js,nwjs/nw.js,nwjs/nw.js,nwjs/nw.js,nwjs/nw.js,nwjs/nw.js