async_hooks: CHECK that resource is not empty
This condition can be triggered through the public C++ embedder API, so check for it.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
async_hooks