gloo: Apply appropriate glPixelStorei in 2D tex upload

Closes issue #257
flake
fix typo
Merge pull request #258 from almarklein/gloo-pixelstore

gloo: Apply appropriate glPixelStorei in 2D tex upload