st/mesa: expand glDrawPixels cache to handle multiple images