elog: (sensor) Replace prerror with elog

Replace prerror with 'elog' interface and correct one existing SRC
map from error type.

Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>