OpenGL: delete unused function parameter in TextureConverter.

(While I'm here, also mark some functions static.)