Bug 914823 - Reorder the ScreenBuffer teardown so that the SurfaceFactory is destroyed last - r=jgilbert, a=koi+