chg: Set the charge input current earlier

If the charger input current is too low, then the gas gauge might not turn
on.  In order to correct this, move the current-detection test to earlier
on in the charge loop.

Signed-off-by: Sean Cross <xobs@kosagi.com>