lib/glesv2: fix read_pixels having hardcoded args