[libcxx] Use the posix code for directory_entry::__do_refresh

This works just fine for windows, as all the functions it calls
are implemented and wrapped for windows.

Differential Revision: https://reviews.llvm.org/D91173

GitOrigin-RevId: 4d292d531bea6f7a6021f212e59b3826bc7cd913
1 file changed