[PATCH] ntdll: Use the MacOS file handle limit workaround from libs/wine/loader.c.