d3dx9: Fix FindNextValidTechnique() when no previous technique is specified.