DesktopGridEffect: Fix crash when closing the effect
If the first condition would match (for instance after moving a window),
windowMove
would be nullptr
, triggering the crash later.
By the looks of it, it was maybe a typo.
BUG: 445335 FIXED-IN: 5.24
CC: @nicolasfella