Add state tracker nine for Direct3D9
indexbuffer: don't MALLOC pipe_index_buffer, init desc before use

pipe_index_buffer is just a small struct for passing data to
pipe::set_index_buffer.
stateblock: initial implementation
indexbuffer: fixes
stateblock: fix build
pipe: build nine_pipe.c, nine_state.c
device: set pipe_const_buf.user_buffer = NULL
state: fix update_framebuffer
swapchain: bye bye util_blit_pixels

It's deprecated, driver internal blit can be faster and is more
powerful.
nine/device: implement StretchRect
nine/device: implement DrawPrimitive
WIP: pipe state
device: implement ColorFill
nine/state: finish constant upload

Even if it's a bit ugly ...
nine/caps: big update
nine/query: implement queries
nine/shaders: WIP
nine/shader: fixes
nine/shader: CONST1,2,3, texture input, indent, checks
nine/objects: add missing IUnknown ctors,dtors