Correct AnalogRead in sparkCoreAdaptor

It now returns an int instead of float64, since the interface is
expecting that.