Fix Mac OS 9 NavigationLib crashes and Carbon/Toolbox File Manager failures on
the shared Unix volume with minimal targeted changes:
- Guard guest buffer bounds in PBGetVol (50-byte IOParam), PBGetFInfo/PBHGetFInfo
and PBSetFInfo/PBHSetFInfo (80-byte FileParam/HFileParam), fs_get_vol_parms
(NULL/oversized ioBuffer), and avoid clobbering input ioNamePtr when
ioFDirIndex <= 0 (fixes NavigationLib / NavChooseFolder crashes).
- Wire kFSMOpenDF (reading ioDirID via kHFSMask in selectCode | ioTrap) and
kFSMMakeFSSpec in ExtFSHFS.
- Fix fs_volume_mount 16-bit vRefNum read and populate ioVRefNum / ioVSigWord in
fs_get_vol_info so volume matching succeeds.
- Remove errno == 0 -> noErr in errno2oserr() and retire deleted/missing FSItems
so deleted or non-existent paths do not retain stale CNIDs.
- Pass 0666 mode and handle O_RDWR when creating APFS named resource forks, and
avoid merging uninitialized stack bytes in set_finfo() when fxinfo is NULL.