d3dx9: Move transpose matrix into set_matrix().