glsl: handle xfb resources for spirv before running varying opts this otherwise breaks lowered io cc: mesa-stable