shell: sensors: exit on failure

Immediately leave the read command if sensor is not initialized.
Merge pull request #1952 from OlegHahm/sc_iotlab_sensors_check

shell: sensors: exit on failure