lib/spi: work around bootloader short isr