gpio: max7301: fix the race between chip addition and pins reconfiguration