relaxed ctype DWORD argument conversion to accept negative values

fixed cp35326