d3d9: Check for a NULL shader in IDirect3DDevice9Impl_GetVertexShader