Alexandre Julliard : ntdll: Use INT_MAX for the semaphore count since LONG_MAX won't work on 64-bit.