st/mesa: overhaul vertex setup for clearing, glDrawPixels, glBitmap