[PATCH 4.14 09/46] i2c: altera: Fix race between xfer_msg and isr thread