don't run git_gutter in a view if it has no window

don't run git_gutter in a view if it has no window: fixes AttributeError: 'NoneType'... when views are activated via the `Goto Anything` palette