In my experience, gauge dimmers for incandescent bulbs hardly affect LEDs at all, so you may as well just bypass the sketchy dimmer entirely by disconnecting the two wires from it and reconnecting them directly.