[boost] [filesystem] POSIX compliant readdir_r to fix ticket #1578