stm32: common: SPI: Fix spi_common_all warning

Fixes #226

This function should be deprecated in the future.