stm32f103rey6: fixes context switching for the iot-lab_3 board

this fixes issue https://github.com/RIOT-OS/thirdparty_cpu/issues/8