memif: mask interrupts on startup if we are in the polling mode