altos/stm: Clean up SPI pin configuration code