[PATCH 5.2 082/215] i2c: stm32f7: fix the get_irq error cases