shell: Fix a potential NULL pointer dereference

get_shell_surface() may return NULL. Found by scan-build.
1 file changed