power: supply: rk817: Change rk817_chg_cur_to_reg to int