p54spi: fix potential null deref in p54spi.c