st/mesa: don't flush the front buffer if it's a pbuffer