stm32f103rey6:cortex_common: updated to match reboot() signature

and fixed a compiler warning when `MODULE_UART0` isn't used