[PATCH] d3dcompiler: Check shader for NULL.