node: explicitly include `sys/types.h` for size_t

fix #6724
Merge remote-tracking branch 'upstream/master'