Render branch: Lots of compile error fixes, still one lingering one in src/render/windows/window.c, would welcome a second pair of eyes

git-svn-id: svn://dspnet.fr/mame/branches/ryan@23279 749742ba-7341-0410-aadc-df50b521781e
Render branch: More compile fixes, nw

git-svn-id: svn://dspnet.fr/mame/branches/ryan@23281 749742ba-7341-0410-aadc-df50b521781e