sensor: Fix set sensor reading for analog sensors
sensor: Fix set sensor reading for analog sensors

Tested: Set temperature sensor to sensor object

Change-Id: I77b8dcd6f298ca7b09aac475c2e8da4af5825940
Signed-off-by: Tom Joseph <ccebe3ea0dc9f732d049c731e46285897e145ffb@in.ibm.com>

openbmc/phosphor-host-ipmid,openbmc/phosphor-host-ipmid,openbmc/phosphor-host-ipmid