Use correct types on CVE-2014-4113

I busted it :( 

Thanks again Myst3rie and @OJ!

For verification purposes, proceed like in #4108
@OJ, honestly, didn't check all the types carefully, did in this way because I felt was easier to read the code. Had the feeling didn't hurt to typedef PDWORD too. But probably you can use PDWORD_PTR safer here. Feel free to switch if you don't feel comfortable with the typedef :)