Fixed TARGET STM32F4XX spi_api.c syntax error

mbed library fails to build for stm32f4xx target due to syntax error in spi_api.c. I've checked other targets for similar error, but it turns out the code is OK.