ofTexture: change edgeHack to work only if non-POT is not supported instead of always with GL_TEXTURE_2D