[adm5120] fix a bug in the GPIO code