test: spi: Add sandbox_spi_get_{speed, mode} interface