Issue title: Linker failure on Windows due to delay load hook
 Issue body: * **Node Version**: v16.11.0 (node-gyp v8.2.0)
* **Platform**: Windows Server 2019 (Github Actions)
* **Compiler**: VS2019
* **Module**: (not public yet)

I wasn't quite sure where to ask this, but figured I'd start here because node-gyp deals with the compiling side of things.

Basically I'm writing a node addon that uses a class that inherits from `v38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5String38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5xternalOneByteStringResource` (like node does in its src/string_bytes.cc for example). Everything compiles and works just fine in *nix, but on Windows the linker errors out, complaining:

```
LINK : fatal error LNK1194: cannot delay-load 'node.exe' due to import of data symbol '"__declspec(dllimport) const v38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5String38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5xternalOneByteStringResour38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5`vftable'" (__imp_??_7ExternalOneByteStringResource@String@v8@@6B@)'; link without /DELAYLOAD:node.exe [D:\a\myaddon\build\myaddon.vcxproj]
```

My binding.gyp is very minimal and besides the required fields, I only have `'cflags': [ '-O3' ],`. From what I've read this error can go away by setting the `'win_delay_look_hook'` to `'false'` in my binding.gyp, but of course that makes the addon incompatible with projects like Electron.

Is there something I'm missing here possibly either in my code or in my binding.gyp, could it be there is something that node needs to be (re-)exporting specifically for Windows (like it does to re-export OpenSSL symbols for example), or something else?

I looked at `nan`'s tests, hoping to find an answer there and while they do have a test that subclasses `v38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5String38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5xternalOneByteStringResource`, they unfortunately disable the delay load hook in the binding.gyp.
 Comments: 
 Comment 0: Hi I ran into the sam problem, do you solved it?
my error is
`LINK : fatal error LNK1194: cannot delay-load 'node.exe' due to import of data symbol '"__declspec(dllimport) const st38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5basic_ostream<char,struct st38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5char_traits<char> >38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5`vftable'" (__imp_??_7?$basic_ostream@DU?$char_traits@D@std@@@std@@6B@)'; link without /DELAYLOAD:node.exe`


{'source': 'GithubIssues', 'repo_name_with_owner': 'nodejs/node-gyp', 'issue_id': 1021851442, 'repo_stars': 8688.0}