Fix dispose rt open gl

This pull request add 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.