EMI: Larger textures should be clamped, smaller ones repeated.

This seems to work for me. I haven't played through much of the game with this patch, but problematic scenes seem to be okay now:
1. The intro has no lines
2. The Dainty has no lines at the dock on Lucre island
3. The raft is rendered with the correct texture
4. The lava is rendered with the correct texture

I have only compiled/tested on the opengl engine, but the code should be fine for the others.
Might as well rework the logic here, and tgl as well

        if (g_grim->getGameType() == GType_MONKEY4 && clamp) {
            glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
            glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
        } else {
            glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
            glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
        }