Fix RenderTarget disposing for OpenGL ports

This pull request adds a fix to prevent the application to crash when a renderTarget is disposed. In some cases the GraphicsDevice object is null when the callback of `AddDisposeAction` is called. This fix has been necessary for a one of my games using the WindowsGL port.