drivers: gpio_ite_it8xxx2: fix use of uninitialized variable

Retain the assumption that the loop will assign a pointer, but
initialize it pointer first to eliminate build warnings.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
1 file changed