gpio/ml-ioh: fix off-by-one for displaying variable i in dev_err