Add check to see if we need to remove fixed funciton VA in OptDrawState

BUG=skia:

Review URL: https://codereview.chromium.org/667033003
diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
index 40e0c6c..77a9fc8 100644
--- a/src/gpu/GrOptDrawState.cpp
+++ b/src/gpu/GrOptDrawState.cpp
@@ -48,7 +48,9 @@
     this->adjustFromBlendOpts(drawState, &firstColorStageIdx, &firstCoverageStageIdx,
                               &fixedFunctionVAToRemove);
     // Should not be setting any more FFVA to be removed at this point
-    this->removeFixedFunctionVertexAttribs(fixedFunctionVAToRemove);
+    if (0 != fixedFunctionVAToRemove) {
+        this->removeFixedFunctionVertexAttribs(fixedFunctionVAToRemove);
+    }
     this->getStageStats(drawState, firstColorStageIdx, firstCoverageStageIdx);
     this->setOutputStateInfo(drawState, caps, firstCoverageStageIdx, &separateCoverageFromColor);