spi: Add error checking for invalid bus widths