frontend: Fix runtime check failure issue
Fix an issue where the stack around the variable snapEnabled was
corrupted.
SPI_GETSNAPTODEFBUTTON should use BOOL, not bool.
Reference:
* https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfow