Fix void cast in wayland_shell.c

This was a typo, which causes clang based builds to fail if `HARD_MODE=ON` (and causes a nasty warning if we are not in hard mode).