Dir.makeOpenPathAccessMaskW: Fix leaking intermediate directory handles

Fixes a regression introduced in 67455c5e70e86dbb7805ff9a415f1b13b14f36da. The `errdefer` cannot run since its not possible for an error to occur, and we don't want it to run on the last handle, so we move the closing back down to where it was before 67455c5e70e86dbb7805ff9a415f1b13b14f36da.
5490021ab7Ryan Liptak committed on 6/5/2024, 1:45:25 AMparent332fbb4
1 file changedLine totals unavailable