d3dx9: Replace M_PI by its D3DX equivalent