Use public SDL_SysWMinfo instead of internal SDL_WindowData

This patch removes the need for accessing SDL-internal stuff.
I only tested this on Linux though.