[windows] Implement loading Direct3D9 from DLL and creating top-level interface.
Renamed variables in gala/backend_d3d9.c to be inline with Gala's style guide.

This is in preparation of sharing the globals with other files.