gallium: fix type of flags in pipe_context::flush()