doc: add fs.Dirent constructor documentation
Adds documentation for the fs
subsystem which did not include instructions on how the Dirent
constructor is instantiated or the constants that it relies on.
Fixes: https://github.com/nodejs/node/issues/33242
Checklist
-
documentation is changed or added -
commit message follows commit guidelines