hdr: always define NODE_WANT_INTERNALS

Otherwise the warning could be printed on some systems.

fix #8419
Merge remote-tracking branch 'upstream/v0.10' into v0.10