Fix SMC reading values by sgress454 · Pull Request #8583 · osquery/osquery
Fixes #7627
Fixes #5896
Fixes fleetdm/fleet#26583
Fixes issues with SMC key readings used by the temperature_sensors, power_sensors and fan_speed_sensors tables.
SMC keys are already mysterious (there is no known definitive reference on the keys) and each new Apple product that comes out seems to have its own opinions about what data type keys should use. At some point the temperature keys started using the flt and ioft types which we were not handling.
Big shout out to @directionless for doing some digging on a previous ticket and leading me to https://github.com/dkorunic/iSMC which at least has a good listing of known types and clues as to how to convert them. I've updated the code to handle flt and ioft as well all of the known fp*, sp*, ui* and si* types. I also added tests for the conversions.

