vrend: don't try to read from an undefined vertex element array
With the link_shader command we might end up calculating shader keys without the full draw info being available, specifically, without the vertex element array being defined. Skip querying the integer masks in this case.
Fixes: #664
Signed-off-by: Gert Wollny gert.wollny@collabora.com