Fixed missing code for generic thermistor tables.

Some code appears to have gone missing in a rewrite, causing generic thermistor table lookups to return incorrect values. Tested on my Rostock MAX, where everything now seems to be back to normal.