s3c-adc-battery: Fix possible NULL pointer dereference