mesa: add const flags to skip MaxVarying and MaxUniform linker checks (v2)