Add ore dictionary support for gears in Thermex recipes.