Fix Texture2D.GetData
Merge back from MG-SDL2 upstream