WGL: Get rid of the use of the Host_GetRenderWindowSize() call.

Just use the Windows API to accomplish the same thing (this is what is done in Update()).

Also clean up the casting mumbo-jumbo a little bit.