Fix ShadowedTexture crashing with software rendering
If the texture provider has no texture, the QSGImageNode should be removed from the scene graph, otherwise the renderer will crash.
If the texture provider has no texture, the QSGImageNode should be removed from the scene graph, otherwise the renderer will crash.