isDlgButtonChecked: use correct types

Use 'CInt' (always 32-bit) instead of Haskell 'Int' (could be either 32 or 64-bit).

See http://msdn.microsoft.com/en-us/library/windows/desktop/bb761879%28v=vs.85%29.aspx