dx9: Fix splines and beziers in Direct3D.

Fixes #7181.
dx9: Clean up some differences in spline code.

Hmm, the spell effects look wrong.  Maybe a separate bug.