gallium: extend pipe_context::flush for it to accept an END_OF_FRAME flag