Multiple functions in Dialogue.hsc: use BOOL type

Use the BOOL type defined in System.Win32.Types for consistency with the WinAPI function definition.  This is currently a type synonym to a Haskell Bool so there is no operational change.