st/mesa: replace st_flush() with pipe->flush()