[qtdeclarative] Remove exposed window in all cases

If a window was destroyed with another window still active, the
invalidateOpenGL() path was not taken and the window was not
removed from the exposed window list.  This is a simpler place
to do it anyway.