mesa: fix material inputs in ffvertex_prog.c