Clamp timeout to 1ms in the small timeout case

If SANE connection timeout is non-zero but rounds to zero ms, emit a warning
and adjust the timeout to 1ms.