mesa/st: set compiler options based on Gallium shader caps