Fixing dir_monitor in Windows x64

Pointer to completion_key is supplied to CreateIoCompletionPort()  would be casted to unsigned long. This leads to truncation of high 32 bits on a 64-bit platform. Typecast the pointer to ULONG_PTR instead.