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

fix #6724