D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.

MANAGED textures are not allowed though so compensate for that by making them dynamic for now.