d3dx9: Use 0 instead of D3DLOCK_DISCARD in OptimizeInPlace.