driver: assert that number of vs inputs matches with vertex elements
driver: implement blend_state.dither.

Also fixes alpha blending when using 16 bit render target (manifested in
kenlab).