Apply fix from tests/float_tex.cpp to tests/gl_subdata.cpp