TARGET_STM: SPI: update pull up config depending on clk polarity
TARGET_STM: SPI: update pull up config depending on clk polarity

Fix #10589

Signed-off-by: Vincent Veron <d0437362c556ce51fce5edebef610c1693e26118@st.com>

kjbracey-arm/mbed,kjbracey-arm/mbed,mbedmicro/mbed,mbedmicro/mbed,kjbracey-arm/mbed,andcor02/mbed-os,kjbracey-arm/mbed,andcor02/mbed-os,andcor02/mbed-os,mbedmicro/mbed,andcor02/mbed-os,andcor02/mbed-os,mbedmicro/mbed,mbedmicro/mbed,andcor02/mbed-os